method
url
v6.1.3.1 -
Show latest stable
- Class:
ActionDispatch::Http::URL
url()public
Returns the complete URL used for this request.
req = ActionDispatch::Request.new 'HTTP_HOST' => 'example.com' req.url # => "http://example.com"
url()Returns the complete URL used for this request.
req = ActionDispatch::Request.new 'HTTP_HOST' => 'example.com' req.url # => "http://example.com"