Browse Source

Require pagy overflow extra so we don't 500 error on pagination overflow request

pull/473/head
baarkerlounger 3 years ago
parent
commit
4dfc557c1e
  1. 2
      config/initializers/pagy.rb

2
config/initializers/pagy.rb

@ -167,7 +167,7 @@
# Overflow extra: Allow for easy handling of overflowing pages
# See https://ddnexus.github.io/pagy/extras/overflow
# require 'pagy/extras/overflow'
require 'pagy/extras/overflow'
# Pagy::DEFAULT[:overflow] = :empty_page # default (other options: :last_page and :exception)
# Support extra: Extra support for features like: incremental, infinite, auto-scroll pagination

Loading…
Cancel
Save