Module: KeysetHelper
- Defined in:
- app/helpers/keyset_helper.rb
Instance Method Summary collapse
Instance Method Details
#keyset_paginate(paginator, without_first_and_last_pages: false) ⇒ Object
4 5 6 7 8 9 10 11 12 |
# File 'app/helpers/keyset_helper.rb', line 4 def keyset_paginate(paginator, without_first_and_last_pages: false) page_params = params.to_unsafe_h render('kaminari/gitlab/keyset_paginator', { paginator: paginator, without_first_and_last_pages: without_first_and_last_pages, page_params: page_params }) end |