aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides
diff options
context:
space:
mode:
authorSantiago Pastorino <santiago@wyeworks.com>2010-04-29 12:02:02 -0300
committerSantiago Pastorino <santiago@wyeworks.com>2010-04-29 12:02:02 -0300
commit199cb0f80b8de4f50d8d5f6f9c4fdddeb64957ca (patch)
tree01c0e86375df52bed4feb7f134306f901ff886f4 /railties/guides
parent8d0bdbf0b71029d6fd6b2e7a3b61af42701225d4 (diff)
downloadrails-199cb0f80b8de4f50d8d5f6f9c4fdddeb64957ca.tar.gz
rails-199cb0f80b8de4f50d8d5f6f9c4fdddeb64957ca.tar.bz2
rails-199cb0f80b8de4f50d8d5f6f9c4fdddeb64957ca.zip
as changes named routes, path is the appropriate option in this case
Diffstat (limited to 'railties/guides')
-rw-r--r--railties/guides/source/3_0_release_notes.textile2
1 files changed, 1 insertions, 1 deletions
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
<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