diff options
author | Andrew White <andrew.white@unboxedconsulting.com> | 2016-01-20 17:59:13 +0000 |
---|---|---|
committer | Andrew White <andrew.white@unboxedconsulting.com> | 2016-01-20 17:59:13 +0000 |
commit | 1eace9402ba9ad17b51552b5c61e25c3ced84475 (patch) | |
tree | 14e8a536b06fadce73ca9553cbddfee6ae049894 /actionpack/test/dispatch/request_id_test.rb | |
parent | 4b507dff1e429c65b59cf6c506cdfa3adc44b141 (diff) | |
download | rails-1eace9402ba9ad17b51552b5c61e25c3ced84475.tar.gz rails-1eace9402ba9ad17b51552b5c61e25c3ced84475.tar.bz2 rails-1eace9402ba9ad17b51552b5c61e25c3ced84475.zip |
Fix marking of custom routes for Journey
The Mapper build_path method marks routes where path parameters are part
of a path segment as custom routes by altering the regular expression, e.g:
get '/foo-:bar', to: 'foo#bar'
There were some edge cases where certain constructs weren't being picked
up and this commit fixes those.
Fixes #23069.
Diffstat (limited to 'actionpack/test/dispatch/request_id_test.rb')
0 files changed, 0 insertions, 0 deletions