Skip to content

Commit

Permalink
Remove :cycle false default
Browse files Browse the repository at this point in the history
  • Loading branch information
ddnexus committed Jun 19, 2024
1 parent 78cb759 commit 5e14bd6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion gem/lib/pagy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ def self.root
items: 20,
outset: 0,
size: 7,
cycle: false,
count_args: [:all], # AR friendly
page_param: :page }

Expand Down
1 change: 0 additions & 1 deletion test/pagy/extras/metadata_test.rb.rematch
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ pagy/extras/metadata::#pagy_metadata for Pagy#test_0002_returns the full pagy me
- 4
- 4
- 1
:cycle: false
:count_args:
- :all
:page_param: :page
Expand Down

0 comments on commit 5e14bd6

Please sign in to comment.