Skip to content

Commit

Permalink
Merge pull request #48 from performant-software/feature/cdc301_relate…
Browse files Browse the repository at this point in the history
…d_record_pagination

CDC #301 - Related Record Pagination
  • Loading branch information
dleadbetter authored Sep 25, 2024
2 parents ed37ab6 + e8a798e commit dd731cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/initializers/pagy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@

# Overflow extra: Allow for easy handling of overflowing pages
# See https://ddnexus.github.io/pagy/extras/overflow
# require 'pagy/extras/overflow'
# 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)

# Metadata extra: Provides the pagination metadata to Javascript frameworks like Vue.js, react.js, etc.
# See https://ddnexus.github.io/pagy/extras/metadata
Expand Down

0 comments on commit dd731cd

Please sign in to comment.