instance method
fullpath
Ruby on Rails 4.2.9
Since v3.0.20Signature
fullpath()
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"
Source
# File actionpack/lib/action_dispatch/http/request.rb, line 192
def fullpath
@fullpath ||= super
end
Defined in actionpack/lib/action_dispatch/http/request.rb line 192
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionDispatch::Request