From 296d84cfb7eb9f1fe967820f8d879e18de385b70 Mon Sep 17 00:00:00 2001 From: Akira Matsuda Date: Mon, 3 Sep 2012 00:37:45 +0900 Subject: [PATCH] add commented out `max_per_page` to the config generator output --- lib/generators/kaminari/templates/kaminari_config.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/generators/kaminari/templates/kaminari_config.rb b/lib/generators/kaminari/templates/kaminari_config.rb index 73bd31d..b1d87b0 100644 --- a/lib/generators/kaminari/templates/kaminari_config.rb +++ b/lib/generators/kaminari/templates/kaminari_config.rb @@ -1,5 +1,6 @@ Kaminari.configure do |config| # config.default_per_page = 25 + # config.max_per_page = nil # config.window = 4 # config.outer_window = 0 # config.left = 0