fullpath

fullpath()
Instance Public methods

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

1
2
3
4
5
# get "/articles"
request.fullpath # => "/articles"
 
# get "/articles?page=2"
request.fullpath # => "/articles?page=2"
doc_ruby_on_rails
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.