mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
need to dup the default options so that mutations will not impact us
This commit is contained in:
parent
d4838fdcb2
commit
d5cc711307
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ module ActionDispatch
|
||||||
def initialize(by, env, default_options)
|
def initialize(by, env, default_options)
|
||||||
@by = by
|
@by = by
|
||||||
@env = env
|
@env = env
|
||||||
@delegate = default_options
|
@delegate = default_options.dup
|
||||||
end
|
end
|
||||||
|
|
||||||
def [](key)
|
def [](key)
|
||||||
|
|
Loading…
Reference in a new issue