Skip to content

Commit

Permalink
Show empty if navigating past last paginated activity page
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanTG committed Jan 28, 2025
1 parent 9a4354e commit aa91654
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 @@ -151,8 +151,8 @@

# Overflow extra: Allow for easy handling of overflowing pages
# See https://ddnexus.github.io/pagy/docs/extras/overflow
# require 'pagy/extras/overflow'
# Pagy::DEFAULT[:overflow] = :empty_page # default (other options: :last_page and :exception)
require 'pagy/extras/overflow'
Pagy::DEFAULT[:overflow] = :empty_page # default (other options: :last_page and :exception)

# Trim extra: Remove the page=1 param from links
# See https://ddnexus.github.io/pagy/docs/extras/trim
Expand Down

0 comments on commit aa91654

Please sign in to comment.