debian-mirror-gitlab/config/initializers/kaminari_config.rb
2021-03-11 19:13:27 +05:30

12 lines
282 B
Ruby

# frozen_string_literal: true
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