Flowdock
method

original_fullpath

Importance_1
Ruby on Rails latest stable (v4.2.1) - 1 note - Class: ActionDispatch::Request
original_fullpath() public

Returns a String with the last requested path including their params.

# get '/foo'
request.original_fullpath # => '/foo'

# get '/foo?bar'
request.original_fullpath # => '/foo?bar'
Show source
Register or log in to add new notes.
July 16, 2013 - (>= v3.2.1)
0 thanks

Difference between fullpath

From what I’ve seen, it looks like the difference between this and #fullpath is that this method doesn’t include parameters that weren’t in the original url (i.e. parameters that were sent via POST instead of GET).