method
same_host?
v4.0.2 -
Show latest stable
- Class:
ActionDispatch::Http::URL
same_host?(options)private
No documentation available.
# File actionpack/lib/action_dispatch/http/url.rb, line 87
def same_host?(options)
(options[:subdomain] == true || !options.key?(:subdomain)) && options[:domain].nil?
end