Commit cf44c6d5c539095560d530c7e3668cfcc1fee89c

Authored by Andrew Kane
1 parent aa82032d

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 224  
225 225 ```ruby
226 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 230 View with kaminari
... ...