1
0
Fork 0
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:
Carlos Antonio da Silva 2014-07-31 09:43:02 -03:00
parent 4e09c509af
commit a9c0eb4392

View file

@ -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"]) ||