From d65a8f6e9ee5b2c0d81a61983649bd8c431ca4d4 Mon Sep 17 00:00:00 2001 From: Jeremy Kemper Date: Thu, 24 Aug 2006 01:52:23 +0000 Subject: map.resources docs typo closes #5895 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4812 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionpack/lib/action_controller/resources.rb | 4 ++-- 1 file 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 # # * :name_prefix -- 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 -- cgit v1.2.3