diff options
Diffstat (limited to 'actionpack/lib/action_dispatch/routing/route_set.rb')
-rw-r--r-- | actionpack/lib/action_dispatch/routing/route_set.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/actionpack/lib/action_dispatch/routing/route_set.rb b/actionpack/lib/action_dispatch/routing/route_set.rb index b72031633b..0455686ec0 100644 --- a/actionpack/lib/action_dispatch/routing/route_set.rb +++ b/actionpack/lib/action_dispatch/routing/route_set.rb @@ -541,10 +541,9 @@ module ActionDispatch ast, path, requirements, - SEPARATORS, - anchor) + SEPARATORS) - pattern = Journey::Path::Pattern.new(strexp) + pattern = Journey::Path::Pattern.new(strexp, anchor) builder = Journey::GTG::Builder.new ast |