map.resources docs typo closes #5895
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4812 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
parent
842ce34bbc
commit
d65a8f6e9e
|
@ -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
|
||||
ActionController::Routing::RouteSet::Mapper.send :include, ActionController::Resources
|
||||
|
|
Loading…
Reference in New Issue