method
original_url
v7.2.3 -
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"