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 ed37ab6 + e8a798e commit dd731cdCopy full SHA for dd731cd
config/initializers/pagy.rb
@@ -86,8 +86,8 @@
86
87
# Overflow extra: Allow for easy handling of overflowing pages
88
# See https://ddnexus.github.io/pagy/extras/overflow
89
-# require 'pagy/extras/overflow'
90
-# Pagy::VARS[:overflow] = :empty_page # default (other options: :last_page and :exception)
+require 'pagy/extras/overflow'
+Pagy::DEFAULT[:overflow] = :last_page # default (other options: :last_page and :exception)
91
92
# Metadata extra: Provides the pagination metadata to Javascript frameworks like Vue.js, react.js, etc.
93
# See https://ddnexus.github.io/pagy/extras/metadata
0 commit comments