debian-mirror-gitlab/config/initializers/kaminari_config.rb
2014-09-02 14:37:02 +02:00

10 lines
251 B
Ruby

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