Flowdock
method

original_url

Importance_1
Ruby on Rails latest stable (v4.0.2) - 1 note - 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"
Show source
Register or log in to add new notes.
May 22, 2014
0 thanks

Original URL Example

# get “/articles?page=2”

request.original_url # => “http://www.example.com/articles?page=2”