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.
1 parent cbf3d60 commit 2b52026Copy full SHA for 2b52026
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