From bac2dfe5bb25870f513a1e9fbdc39ba784e017e0 Mon Sep 17 00:00:00 2001 From: Dennis Schubert Date: Sun, 14 Dec 2014 03:29:50 +0100 Subject: [PATCH] Avoid conflicts between kaminari and will_paginate ... or rails-admin will die. --- config/initializers/kaminari.rb | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 config/initializers/kaminari.rb diff --git a/config/initializers/kaminari.rb b/config/initializers/kaminari.rb new file mode 100644 index 0000000..c416094 --- /dev/null +++ b/config/initializers/kaminari.rb @@ -0,0 +1,3 @@ +Kaminari.configure do |config| + config.page_method_name = :per_page_kaminari +end