mirror of
https://github.com/kaminari/kaminari.git
synced 2022-11-09 13:44:37 -05:00
fix the document
This commit is contained in:
parent
ddff6ba0bb
commit
495edf0a74
1 changed files with 2 additions and 2 deletions
|
@ -35,13 +35,13 @@ Then bundle:
|
|||
|
||||
== Usage
|
||||
|
||||
* Fetch the 7th page of the users (per_page = 10 by default)
|
||||
* Fetch the 7th page of the users (per_page = 25 by default)
|
||||
|
||||
@users = User.page(7)
|
||||
|
||||
* Show a lot more users per each page (change the per_page value)
|
||||
|
||||
@users = User.page(7).per(30)
|
||||
@users = User.page(7).per(50)
|
||||
|
||||
* Typically, your controller code will look like this:
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue