Method: ActionDispatch::Http::URL#url

Defined in:
lib/action_dispatch/http/url.rb

#urlObject

Returns the complete URL used for this request.



5
6
7
# File 'lib/action_dispatch/http/url.rb', line 5

def url
  protocol + host_with_port + fullpath
end