1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

No need to dup immutable options

This commit is contained in:
Jeremy Kemper 2008-12-18 14:42:58 -08:00
parent c81cd321d1
commit 788ab8458a

View file

@ -93,7 +93,7 @@ module ActionController
original_value = session_data.dup original_value = session_data.dup
env[ENV_SESSION_KEY] = session_data env[ENV_SESSION_KEY] = session_data
env[ENV_SESSION_OPTIONS_KEY] = @default_options.dup env[ENV_SESSION_OPTIONS_KEY] = @default_options
status, headers, body = @app.call(env) status, headers, body = @app.call(env)