aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/dispatch/middleware_stack_test.rb
diff options
context:
space:
mode:
authorAndrew White <andyw@pixeltrix.co.uk>2012-07-20 09:59:37 +0100
committerAndrew White <andyw@pixeltrix.co.uk>2012-07-20 10:50:11 +0100
commit27619e34d42183f24c80648ee7a46b7fee348327 (patch)
tree1570a3c6764bec1703e24b7ee801b485f0d21cd5 /actionpack/test/dispatch/middleware_stack_test.rb
parent3b3ca133071419a42c0b1f55c96fc604ff73f2ac (diff)
downloadrails-27619e34d42183f24c80648ee7a46b7fee348327.tar.gz
rails-27619e34d42183f24c80648ee7a46b7fee348327.tar.bz2
rails-27619e34d42183f24c80648ee7a46b7fee348327.zip
Support constraints on resource custom params when nesting
The Mapper looks for a :id constraint in the scope to see whether it should apply a constraint for nested resources. Since #5581 added support for resource params other than :id, we need to check for a constraint on the parent resource's param name and not assume it's :id.
Diffstat (limited to 'actionpack/test/dispatch/middleware_stack_test.rb')
0 files changed, 0 insertions, 0 deletions