Permalink
Browse files

map.resources docs typo closes #5895

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4812 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent 842ce34 commit d65a8f6e9ee5b2c0d81a61983649bd8c431ca4d4 @jeremy jeremy committed Aug 24, 2006
Showing with 2 additions and 2 deletions.
  1. +2 −2 actionpack/lib/action_controller/resources.rb
@@ -129,7 +129,7 @@ def add_default_action(collection, method, action)
# 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 @@ def requirements_for(method)
end
end
-ActionController::Routing::RouteSet::Mapper.send :include, ActionController::Resources
+ActionController::Routing::RouteSet::Mapper.send :include, ActionController::Resources

0 comments on commit d65a8f6

Please sign in to comment.