aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch/routing/route_set.rb
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack/lib/action_dispatch/routing/route_set.rb')
-rw-r--r--actionpack/lib/action_dispatch/routing/route_set.rb5
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