Register now and start sharing your code snippets.
-->

How to localize Rails routes

CSS posted 3 months ago by christian

I forget this all the time:

   1  map.resources :products, :as => 'productos', :path_names => { :new => 'nuevo', :edit => 'editar' }

Documented here….

Tagged resources, routes, localize, rails