method
original_fullpath
v8.0.0 -
Show latest stable
- 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'
1Note
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).