Ben Johnson wrote:>
> Any idea how I can accomplish this? I keep getting a routing error.
>
> Thanks for your help.
This worked how I wanted:
map.connect
''admin/company_branches/:company_branch_id/details/:action/:id'',
:controller => ''admin/company_branches/details''
The problem is that I have to do this for every controller under company
branches. Isn''t there an easier way to do this? So that I
don''t have ot
make a route for every controller.
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---