1
0
Fork 0
mirror of https://github.com/kaminari/kaminari.git synced 2022-11-09 13:44:37 -05:00

Fix example for outer_window in README

This commit is contained in:
uodna 2017-09-24 13:23:20 +09:00
parent f89f139065
commit ba30a1f21e

View file

@ -220,7 +220,7 @@ page.
<%= paginate @users, outer_window: 3 %> <%= paginate @users, outer_window: 3 %>
``` ```
This would output something like `1 2 3 4 ...(snip)... 17 18 19 20` while having 20 pages in total. This would output something like `1 2 3 ...(snip)... 18 19 20` while having 20 pages in total.
### Outer Window Can Be Separately Specified by left, right (0 by default) ### Outer Window Can Be Separately Specified by left, right (0 by default)