mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-18 23:21:30 +08:00
13 lines
322 B
Ruby
13 lines
322 B
Ruby
# frozen_string_literal: true
|
|
|
|
Kaminari.configure do |config|
|
|
config.default_per_page = 10
|
|
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
|
|
# config.params_on_first_page = false
|
|
end
|