lib/subdomain_fu/url_rewriter.rb in mbleigh-subdomain-fu-0.3.0 vs lib/subdomain_fu/url_rewriter.rb in mbleigh-subdomain-fu-0.4.0
- old
+ new
@@ -17,10 +17,10 @@
def rewrite_url_with_subdomains(options)
if SubdomainFu.needs_rewrite?(options[:subdomain], (options[:host] || @request.host_with_port)) || options[:only_path] == false
options[:only_path] = false if SubdomainFu.override_only_path?
options[:host] = SubdomainFu.rewrite_host_for_subdomains(options.delete(:subdomain), options[:host] || @request.host_with_port)
- puts "options[:host]: #{options[:host].inspect}"
+ # puts "options[:host]: #{options[:host].inspect}"
else
options.delete(:subdomain)
end
rewrite_url_without_subdomains(options)
end