class ActionDispatch::Request

def original_fullpath

Experimental RBS support (using type sampling data from the type_fusion project).

def original_fullpath: () -> untyped

This signature was generated using 1 sample from 1 application.

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

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

Returns a +String+ with the last requested path including their params.
def original_fullpath
  @original_fullpath ||= (get_header("ORIGINAL_FULLPATH") || fullpath)
end