diff options
-rw-r--r-- | actionpack/lib/action_dispatch/routing/mapper.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/actionpack/lib/action_dispatch/routing/mapper.rb b/actionpack/lib/action_dispatch/routing/mapper.rb index 9b52598648..4606cc3db2 100644 --- a/actionpack/lib/action_dispatch/routing/mapper.rb +++ b/actionpack/lib/action_dispatch/routing/mapper.rb @@ -1974,9 +1974,8 @@ module ActionDispatch self.class.new hash, self, scope_level end - EMPTY_HASH = {}.freeze def new_level(level) - self.class.new(EMPTY_HASH, self, level) + self.class.new(frame, self, level) end def [](key) |