add kaminari config with default and max per_page values

3-1-stable
Nihad Abbasov 2012-09-03 04:22:49 -07:00
parent 6745812c72
commit 6817a6a295
1 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,10 @@
Kaminari.configure do |config|
config.default_per_page = 20
config.max_per_page = 100
# config.window = 4
# config.outer_window = 0
# config.left = 0
# config.right = 0
# config.page_method_name = :page
# config.param_name = :page
end