Commit cf44c6d5c539095560d530c7e3668cfcc1fee89c
1 parent
aa82032d
Exists in
relation
and in
1 other branch
Use per [skip ci]
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
README.md
@@ -224,7 +224,7 @@ Plays nicely with kaminari and will_paginate. | @@ -224,7 +224,7 @@ Plays nicely with kaminari and will_paginate. | ||
224 | 224 | ||
225 | ```ruby | 225 | ```ruby |
226 | # controller | 226 | # controller |
227 | -@products = Product.search("milk").page(params[:page]).per_page(20) | 227 | +@products = Product.search("milk").page(params[:page]).per(20) |
228 | ``` | 228 | ``` |
229 | 229 | ||
230 | View with kaminari | 230 | View with kaminari |