aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Miller <james@jkmillertech.com>2010-02-02 23:34:44 -0800
committerJames Miller <james@jkmillertech.com>2010-02-02 23:34:44 -0800
commit54d01ce65611e3574aa0c7f0cd3ec4cfb2bebf99 (patch)
treeb8981a3f5dc52db07673cba44d94c58dd3a66853
parent7ebabb18bebd00df9a799db95229c7e038b589b3 (diff)
downloadrails-54d01ce65611e3574aa0c7f0cd3ec4cfb2bebf99.tar.gz
rails-54d01ce65611e3574aa0c7f0cd3ec4cfb2bebf99.tar.bz2
rails-54d01ce65611e3574aa0c7f0cd3ec4cfb2bebf99.zip
Remove a Rails 2 convention from namespaced routes
-rw-r--r--railties/guides/source/routing.textile2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/routing.textile b/railties/guides/source/routing.textile
index c764597a65..96dbd0dcd0 100644
--- a/railties/guides/source/routing.textile
+++ b/railties/guides/source/routing.textile
@@ -271,7 +271,7 @@ This can be especially useful when map multiple namespaced routes together using
<ruby>
namespace :admin do
- admin.resources :photos, :videos
+ resources :photos, :videos
end
</ruby>