Method: ActionDispatch::Request#fullpath

Defined in:
actionpack/lib/action_dispatch/http/request.rb

#fullpathObject

Returns the String full path including params of the last URL requested.

# get "/articles"
request.fullpath # => "/articles"

# get "/articles?page=2"
request.fullpath # => "/articles?page=2"


270
271
272
# File 'actionpack/lib/action_dispatch/http/request.rb', line 270

def fullpath
  @fullpath ||= super
end