scinote-web/config/initializers/kaminari_config.rb

14 lines
324 B
Ruby
Raw Normal View History

# frozen_string_literal: true
2018-08-07 20:52:30 +08:00
Kaminari.configure do |config|
config.default_per_page = 10
# config.max_per_page = nil
# config.window = 4
# config.outer_window = 0
# config.left = 0
# config.right = 0
# config.page_method_name = :page
# config.param_name = :page
# config.params_on_first_page = false
end