Displaying 1 result from an estimated 1 matches for "9f9446f27110a0d55462".
2011 Jul 31
2
Looks like an error in docs for ActionDispatch::Routing::Mapper::Resources
Please take a look at this page:
http://api.rubyonrails.org/classes/ActionDispatch/Routing/Mapper/Resources.html#method-i-resource
It reads:
:path
Set a path prefix for this resource.
resources :posts, :path => "admin"
All actions for this resource will now be at /admin/posts.
For me (Rails 3.0.9) it routes to just "/admin", not "/admin/posts".