We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cbf3d60 + 2b52026 commit 8b4c101Copy full SHA for 8b4c101
config/initializers/pagy.rb
@@ -1,8 +1,8 @@
1
# frozen_string_literal: true
2
3
# Pagy options
4
-Pagy.options[:size] = [1, 3, 3, 1]
5
-Pagy.options[:overflow] = :empty_page
+Pagy::OPTIONS[:size] = [1, 3, 3, 1]
+Pagy::OPTIONS[:overflow] = :empty_page
6
7
# Freeze options so they don't get changed accidentally
8
-Pagy.options.freeze
+Pagy::OPTIONS.freeze
0 commit comments