kaminari分页配置

This commit is contained in:
lizanle 2015-03-07 14:32:34 +08:00
parent a701eb91a2
commit 77f81ac171
1 changed files with 3 additions and 3 deletions

View File

@ -23,10 +23,10 @@
Kaminari.configure do |config|
# config.default_per_page = 25
# config.max_per_page = nil
# config.window = 4
config.window = 2
# config.outer_window = 3
# config.left = 0
# config.right = 0
# config.left = 2
# config.right = 2
# config.page_method_name = :page
# config.param_name = :page
end