From 77f81ac171e088952e50f8279751da6cd7fb1ea3 Mon Sep 17 00:00:00 2001 From: lizanle <491823689@qq.com> Date: Sat, 7 Mar 2015 14:32:34 +0800 Subject: [PATCH] =?UTF-8?q?kaminari=E5=88=86=E9=A1=B5=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/initializers/kaminari_config.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config/initializers/kaminari_config.rb b/config/initializers/kaminari_config.rb index 2ae42e414..5505662f3 100644 --- a/config/initializers/kaminari_config.rb +++ b/config/initializers/kaminari_config.rb @@ -23,10 +23,10 @@ Kaminari.configure do |config| # config.default_per_page = 25 # config.max_per_page = nil - # config.window = 4 + config.window = 2 # config.outer_window = 3 - # config.left = 0 - # config.right = 0 + # config.left = 2 + # config.right = 2 # config.page_method_name = :page # config.param_name = :page end