method
https_location_for
rails latest stable - Class:
ActionDispatch::SSL
https_location_for(request)private
No documentation available.
# File actionpack/lib/action_dispatch/middleware/ssl.rb, line 134
def https_location_for(request)
host = @redirect[:host] || request.host
port = @redirect[:port] || request.port
location = "https://#{host}"
location << ":#{port}" if port != 80 && port != 443
location << request.fullpath
location
end