1
0
Fork 0
mirror of https://github.com/kaminari/kaminari.git synced 2022-11-09 13:44:37 -05:00
[ci skip]
This commit is contained in:
Akira Matsuda 2016-12-08 16:43:49 +09:00
parent 9b88b7101b
commit 93dd05ed05

View file

@ -250,7 +250,7 @@ This would add `data-remote="true"` to all the links inside.
This would search for partials in `app/views/templates/kaminari`.
This option makes it easier to do things like A/B testing pagination templates/themes, using new/old templates at the same time as well as better integration with other gems such as [cells](https://github.com/apotonick/cells).
### The `link_to_next_page` and `link_to_previous_page (aliased to link_to_prev_page)` Helper Methods
### The `link_to_next_page` and `link_to_previous_page` (aliased to `link_to_prev_page`) Helper Methods
```erb
<%= link_to_next_page @items, 'Next Page' %>