aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
diff options
context:
space:
mode:
authorAndrew White <andyw@pixeltrix.co.uk>2013-06-25 11:00:19 +0100
committerAndrew White <andyw@pixeltrix.co.uk>2013-06-25 11:00:19 +0100
commit622e4ab424ea260cd3ebe3768b1a2a4e5ae1384e (patch)
tree9d4ab215a75059ee9d187cef7ed4bd92fb7ffbd4 /activerecord/lib
parentca23e6d4d3e3a14e2e3ec1af46ca2bd2c7d5576c (diff)
downloadrails-622e4ab424ea260cd3ebe3768b1a2a4e5ae1384e.tar.gz
rails-622e4ab424ea260cd3ebe3768b1a2a4e5ae1384e.tar.bz2
rails-622e4ab424ea260cd3ebe3768b1a2a4e5ae1384e.zip
Fix shorthand routes where controller and action are in the scope
Merge `:action` from routing scope and assign endpoint if both `:controller` and `:action` are present. The endpoint assignment only occurs if there is no `:to` present in the options hash so should only affect routes using the shorthand syntax (i.e. endpoint is inferred from the the path). Fixes #9856 Backport of 37b4276
Diffstat (limited to 'activerecord/lib')
0 files changed, 0 insertions, 0 deletions