aboutsummaryrefslogtreecommitdiff
path: root/config/initializers/kaminari_config.rb
diff options
context:
space:
mode:
Diffstat (limited to 'config/initializers/kaminari_config.rb')
-rw-r--r--config/initializers/kaminari_config.rb14
1 files changed, 14 insertions, 0 deletions
diff --git a/config/initializers/kaminari_config.rb b/config/initializers/kaminari_config.rb
new file mode 100644
index 0000000..4ba6ee3
--- /dev/null
+++ b/config/initializers/kaminari_config.rb
@@ -0,0 +1,14 @@
+# frozen_string_literal: true
+
+Kaminari.configure do |config|
+ # config.default_per_page = 25
+ # config.max_per_page = nil
+ # config.window = 4
+ # config.outer_window = 0
+ # config.left = 0
+ # config.right = 0
+ # config.page_method_name = :page
+ # config.param_name = :page
+ # config.max_pages = nil
+ # config.params_on_first_page = false
+end