diff options
author | Andrew White <andyw@pixeltrix.co.uk> | 2014-04-11 10:20:54 +0100 |
---|---|---|
committer | Andrew White <andyw@pixeltrix.co.uk> | 2014-04-11 10:20:54 +0100 |
commit | e10f26f9e90f2fe6c4cd18f70c1e559f2250da56 (patch) | |
tree | 83f9b424b8ae02a25b660b5ddbc954cab71d4ae6 /railties/bin | |
parent | 77252c332e28dbc385a2e7865905bf3442972cf3 (diff) | |
download | rails-e10f26f9e90f2fe6c4cd18f70c1e559f2250da56.tar.gz rails-e10f26f9e90f2fe6c4cd18f70c1e559f2250da56.tar.bz2 rails-e10f26f9e90f2fe6c4cd18f70c1e559f2250da56.zip |
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.
Diffstat (limited to 'railties/bin')
0 files changed, 0 insertions, 0 deletions