diff options
Diffstat (limited to 'actionpack/lib/action_controller')
-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 |