提交 a9c0eb43 编写于 作者: C Carlos Antonio da Silva

Avoid a new hash object

上级 4e09c509
......@@ -28,7 +28,7 @@ def url_options
: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"]) ||
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册