diff options
author | Alberto Almagro <albertoalmagro@gmail.com> | 2018-12-08 22:42:40 +0100 |
---|---|---|
committer | Alberto Almagro <albertoalmagro@gmail.com> | 2019-05-22 23:03:54 +0200 |
commit | fb9117e190e39872fff7ae5d6b96bfb26ef8b32c (patch) | |
tree | 6269b64939b1a15b672c1deb4b871b3b3e9256fb /actionpack/test/dispatch/show_exceptions_test.rb | |
parent | d5a2f7ec148726d7547e367d7a968e3b4be9b509 (diff) | |
download | rails-fb9117e190e39872fff7ae5d6b96bfb26ef8b32c.tar.gz rails-fb9117e190e39872fff7ae5d6b96bfb26ef8b32c.tar.bz2 rails-fb9117e190e39872fff7ae5d6b96bfb26ef8b32c.zip |
Keep part when scope option has value
When a route was defined within an optional scope, if that route didn't
take parameters the scope was lost when using path helpers. This patch
ensures scope is kept both when the route takes parameters or when it
doesn't.
Fixes #33219
Diffstat (limited to 'actionpack/test/dispatch/show_exceptions_test.rb')
0 files changed, 0 insertions, 0 deletions