Files
rails/actionpack/test/controller
Pratik Naik 83c6ba1889 Add support for shallow nesting of routes. [#838 state:resolved]
Adds :shallow option to resource route definition. If true, paths for nested
resources which reference a specific member (ie. those with an :id parameter)
will not use the parent path prefix or name prefix.

Example :

map.resources :users, :shallow => true do |user|
  user.resources :posts
end

* GET /users/1/posts (maps to PostsController#index action as usual)
  named route "user_posts" is added as usual.

* GET /posts/2 (maps to PostsController#show action as if it were not nested)
  Additionally, named route "post" is added too.
2008-08-30 15:20:20 +01:00
..
2008-07-31 16:36:23 -05:00
2008-08-29 13:43:30 +01:00
2008-07-17 18:19:09 +01:00
2008-07-31 16:36:23 -05:00
2008-08-28 12:35:47 -07:00