Skip to content

Commit

Permalink
Change pagination overflow policy
Browse files Browse the repository at this point in the history
  • Loading branch information
xuanxu committed Jun 16, 2023
1 parent 7c69c65 commit 7d3d442
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/initializers/pagy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
Pagy::DEFAULT[:size] = []

require 'pagy/extras/overflow'
Pagy::DEFAULT[:overflow] = :last_page
Pagy::DEFAULT[:overflow] = :empty_page


# Elasticsearch Rails extra: Paginate `ElasticsearchRails::Results` objects
Expand Down

0 comments on commit 7d3d442

Please sign in to comment.