Class: Rango::Pagination::Strategies::Default

Inherits:
Rango::Pagination::Strategy show all
Defined in:
lib/rango/contrib/pagination/strategies.rb

Instance Method Summary collapse

Methods inherited from Rango::Pagination::Strategy

activate

Instance Method Details

#hook(request, from, page) ⇒ Object

Since:

  • 0.0.2



19
20
21
# File 'lib/rango/contrib/pagination/strategies.rb', line 19

def hook(request, from, page)
  return "?page=#{page}"
end