method

fullpath

fullpath()
public

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"

1Note

includes request parameters

ssoroka ยท Jul 27, 20111 thank

fullpath includes request parameters in the result