1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionpack/lib/action_dispatch/routing
Andrew White e10f26f9e9 Only make deeply nested routes shallow when parent is shallow
Since `:shallow` may be set at any point in the resource nesting we should
only make the new and collection routes shallow when the parent is shallow.

This is a bit of a hack but until the mapper is refactored to an object graph
instead of a hash of merged values it's the best we can do.

Fixes #14684.
2014-04-11 10:20:54 +01:00
..
inspector.rb Fix rake routes error when Rails::Engine with empty routes is mounted; fixes rails/rails#13810 2014-01-24 12:41:48 +01:00
mapper.rb Only make deeply nested routes shallow when parent is shallow 2014-04-11 10:20:54 +01:00
polymorphic_routes.rb Adding documentation to +polymorphic_url+ 2013-06-13 10:09:15 -04:00
redirection.rb Allow engine root relative redirects using an empty string. 2014-01-01 11:19:14 +00:00
route_set.rb Unique the segment keys array for non-optimized url helpers 2014-01-05 11:57:50 +00:00
routes_proxy.rb Missing or unneeded require extract_options 2013-02-01 12:10:58 +09:00
url_for.rb Take Hash with options inside Array in #url_for 2013-11-15 15:50:42 +04:00