Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Avoid a new hash object

  • Loading branch information...
commit a9c0eb439263a10937918a32b19d23478245d7f8 1 parent 4e09c50
@carlosantoniodasilva carlosantoniodasilva authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  actionpack/lib/action_controller/metal/url_for.rb
View
2  actionpack/lib/action_controller/metal/url_for.rb
@@ -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"]) ||
Please sign in to comment.
Something went wrong with that request. Please try again.