mirror of
https://github.com/CodeforLeipzig/stadtratmonitor.git
synced 2024-12-23 08:03:14 +01:00
14 lines
390 B
Ruby
14 lines
390 B
Ruby
|
Kaminari.configure do |config|
|
||
|
# config.default_per_page = 25
|
||
|
# 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
|
||
|
end
|
||
|
|
||
|
Kaminari::Hooks.init
|
||
|
Elasticsearch::Model::Response::Response.__send__ :include, Elasticsearch::Model::Response::Pagination::Kaminari
|