mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
only "normalize" once
This commit is contained in:
parent
5e3e5de48b
commit
2f0bc1f789
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ module ActionController
|
|||
def initialize(controller, env, defaults)
|
||||
@controller = controller
|
||||
@defaults = defaults
|
||||
@env = normalize_keys(defaults).merge normalize_keys(env)
|
||||
@env = normalize_keys defaults.merge(env)
|
||||
@env['action_dispatch.routes'] = controller._routes
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue