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