> But my system is an ERP, i have more than 20 controllers. > > I have to make it for all controllers and actions?
I have an application with something like 20 controllers and make all routes explicit for each controller. > > My actions is in portuguese, not "edit" but "alterar"... i put here an > example of my structure. > > Dont have other method? A route that redirect all with "admin/" to > "admin/:controller/:action/:id" ??? > You could probably do map.with_options(:namespace => "admin") do |admin| admin.connect ':controller/:action/:id' end -- 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-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.