Permalink
Browse files

as changes named routes, path is the appropriate option in this case

  • Loading branch information...
1 parent 8d0bdbf commit 199cb0f80b8de4f50d8d5f6f9c4fdddeb64957ca @spastorino spastorino committed Apr 29, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/guides/source/3_0_release_notes.textile
@@ -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

0 comments on commit 199cb0f

Please sign in to comment.