Skip to content

Commit 9fcf8c9

Browse files
committed
Fix unnecessary pagy error
1 parent 4d37d61 commit 9fcf8c9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/controllers/concerns/pageable.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,6 @@ module Pageable
1313
def set_pagination
1414
@page = params[:page].to_i || 1
1515
@pagy, @collection = pagy(@collection)
16+
rescue Pagy::OverflowError
1617
end
1718
end

0 commit comments

Comments
 (0)