diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2006-08-24 01:52:23 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2006-08-24 01:52:23 +0000 |
commit | d65a8f6e9ee5b2c0d81a61983649bd8c431ca4d4 (patch) | |
tree | 73336cfa37a1ddf7a2463ce7b0909daa9a1cb8c9 | |
parent | 842ce34bbcfb2d65b04a6e80bf8c168d7c17277d (diff) | |
download | rails-d65a8f6e9ee5b2c0d81a61983649bd8c431ca4d4.tar.gz rails-d65a8f6e9ee5b2c0d81a61983649bd8c431ca4d4.tar.bz2 rails-d65a8f6e9ee5b2c0d81a61983649bd8c431ca4d4.zip |
map.resources docs typo closes #5895
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4812 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-rw-r--r-- | actionpack/lib/action_controller/resources.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_controller/resources.rb b/actionpack/lib/action_controller/resources.rb index 5805560944..9a50be82c3 100644 --- a/actionpack/lib/action_controller/resources.rb +++ b/actionpack/lib/action_controller/resources.rb @@ -129,7 +129,7 @@ module ActionController # You can nest resource calls to set this automatically: # # map.resources :posts do |post| - # map.resources :comments + # post.resources :comments # end # # * <tt>:name_prefix</tt> -- define a prefix for all generated routes, usually ending in an underscore. @@ -259,4 +259,4 @@ module ActionController end end -ActionController::Routing::RouteSet::Mapper.send :include, ActionController::Resources
\ No newline at end of file +ActionController::Routing::RouteSet::Mapper.send :include, ActionController::Resources |