Hi people,
i have this route in rails

http://localhost:3002/gdm/9/cd/posts/10/comments

we can see we have a namespace with prefix in gdm/9/cd/

also we have two controllers

i will create a helper, and  need get ther controllers name with commands

i know i can get "comments" with <%=controller_name%>

But how can i get "posts"

Sorry for my bad english =/

Thx

-- 
Rodrigo Mendonça
(62) 8567-3142

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to