mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-14 21:24:54 +08:00
13 lines
324 B
Ruby
13 lines
324 B
Ruby
# frozen_string_literal: true
|
|
|
|
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
|