1
0
Fork 0
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:
Akira Matsuda 2011-02-06 20:17:30 +09:00
parent ddff6ba0bb
commit 495edf0a74

View file

@ -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: