aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/lib/action_dispatch/http/url.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_dispatch/http/url.rb b/actionpack/lib/action_dispatch/http/url.rb
index 6c2489ebb4..75e426d3b0 100644
--- a/actionpack/lib/action_dispatch/http/url.rb
+++ b/actionpack/lib/action_dispatch/http/url.rb
@@ -126,7 +126,7 @@ module ActionDispatch
if subdomain == true || !options.key?(:subdomain)
return _host if options[:domain].nil?
- host << extract_subdomain(_host, tld_length).to_param
+ host << extract_subdomain(_host, tld_length)
elsif subdomain
host << subdomain.to_param
end