add kaminari config with default and max per_page values

This commit is contained in:
Nihad Abbasov 2012-09-03 04:22:49 -07:00
parent 6745812c72
commit 6817a6a295

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