method
original_url
v5.0.0.1 -
Show latest stable
- Class:
ActionDispatch::Request
original_url()public
Returns the original request URL as a String.
# get "/articles?page=2" request.original_url # => "http://www.example.com/articles?page=2"
1Note
Original URL Example
get "/articles?page=2"
request.original_url # => "http://www.example.com/articles?page=2"