From 35460fe3e50ab9ea50157713dc5900034c2067ef Mon Sep 17 00:00:00 2001 From: Alex Kotov Date: Mon, 21 Oct 2019 21:44:23 +0500 Subject: [PATCH] Configure Kaminari with 20 items per page by default --- config/initializers/kaminari_config.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/initializers/kaminari_config.rb b/config/initializers/kaminari_config.rb index 2dd4e31..9dd00cb 100644 --- a/config/initializers/kaminari_config.rb +++ b/config/initializers/kaminari_config.rb @@ -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