We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 683fc4d commit 2c0add7Copy full SHA for 2c0add7
actionpack/lib/action_view/helpers/url_helper.rb
@@ -108,7 +108,7 @@ def url_for(options = nil)
108
options
109
when nil, Hash
110
options ||= {}
111
- options = options.symbolize_keys.reverse_merge!(:only_path => options[:host].nil?)
+ options = { :only_path => options[:host].nil? }.merge!(options.symbolize_keys)
112
super
113
when :back
114
controller.request.env["HTTP_REFERER"] || 'javascript:history.back()'
0 commit comments