mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
as changes named routes, path is the appropriate option in this case
This commit is contained in:
parent
8d0bdbf0b7
commit
199cb0f80b
1 changed files with 1 additions and 1 deletions
|
@ -273,7 +273,7 @@ end
|
|||
|
||||
<ruby>
|
||||
scope 'es' do
|
||||
resources :projects, :path_names => { :edit => 'cambiar' }, :as => 'projeto'
|
||||
resources :projects, :path_names => { :edit => 'cambiar' }, :path => 'projeto'
|
||||
end
|
||||
|
||||
# Gives you the edit action with /es/projeto/1/cambiar
|
||||
|
|
Loading…
Reference in a new issue