mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Avoid a new hash object
This commit is contained in:
parent
4e09c509af
commit
a9c0eb4392
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ module ActionController
|
|||
:port => request.optional_port,
|
||||
:protocol => request.protocol,
|
||||
:_recall => request.path_parameters
|
||||
}.merge(super).freeze
|
||||
}.merge!(super).freeze
|
||||
|
||||
if (same_origin = _routes.equal?(env["action_dispatch.routes".freeze])) ||
|
||||
(script_name = env["ROUTES_#{_routes.object_id}_SCRIPT_NAME"]) ||
|
||||
|
|
Loading…
Reference in a new issue