If I have nested resources: map.resources ''projects'' do |project| project.resources ''members'' end When I send a request to /projects/1/members/, I can find my controller name in my helper by calling: controller.controller_name => "members" Is there a clean way to find the controller name for the part of the request_uri that refers to ''projects'' or deeper nesting? I''m working around this by parsing the uri string, but I''d like to know how I''d handle this when the controller name doesn''t match the name of the route. --Andrew --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---