1
0
Fork 0

Configure Kaminari with 20 items per page by default

This commit is contained in:
Alex Kotov 2019-10-21 21:44:23 +05:00
parent f3f81e4a03
commit 35460fe3e5
Signed by: kotovalexarian
GPG key ID: 553C0EBBEB5D5F08

View file

@ -1,7 +1,7 @@
# frozen_string_literal: true
Kaminari.configure do |config|
config.default_per_page = 10
config.default_per_page = 20
# config.max_per_page = nil
# config.window = 4
# config.outer_window = 0