From 199cb0f80b8de4f50d8d5f6f9c4fdddeb64957ca Mon Sep 17 00:00:00 2001 From: Santiago Pastorino Date: Thu, 29 Apr 2010 12:02:02 -0300 Subject: [PATCH] as changes named routes, path is the appropriate option in this case --- railties/guides/source/3_0_release_notes.textile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/railties/guides/source/3_0_release_notes.textile b/railties/guides/source/3_0_release_notes.textile index 66fdad8c54..622032e1ea 100644 --- a/railties/guides/source/3_0_release_notes.textile +++ b/railties/guides/source/3_0_release_notes.textile @@ -273,7 +273,7 @@ end 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