1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Spanish for "project" is "proyecto"

This commit is contained in:
Xavier Noria 2010-11-21 03:22:57 +01:00
parent 7d5b097357
commit 7c51d1fcf9

View file

@ -271,10 +271,10 @@ end
<ruby>
scope 'es' do
resources :projects, :path_names => { :edit => 'cambiar' }, :path => 'projecto'
resources :projects, :path_names => { :edit => 'cambiar' }, :path => 'proyecto'
end
# Gives you the edit action with /es/projecto/1/cambiar
# Gives you the edit action with /es/proyecto/1/cambiar
</ruby>
* Added +root+ method to the router as a short cut for <tt>match '/', :to => path</tt>.