map.resource :search, :controller => "search_controller"

map.suche "suche", :controller => "search_controller", :action =>
"new"

Is that what you're looking for?

Gavin

http://handyrailstips.com

On Jul 30, 2:23 pm, John Smith <[email protected]>
wrote:
> I have some controllers with member/collection actions. I want to change
> the name of those actions on the routes, so I can translate the action
> "/search" to German, for example. How can I do it? I will appreciate any
> help.
> --
> Posted viahttp://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 [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