Skip to content

Commit

Permalink
GIT-2207: Fixed internal error caused by overflowing pages (Fixes big…
Browse files Browse the repository at this point in the history
…bluebutton#2207) (bigbluebutton#3018)

Co-authored-by: Ahmad Farhat <[email protected]>
  • Loading branch information
Khemissi Amir and farhatahmad authored Dec 17, 2021
1 parent 00ca802 commit 1dc8deb
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 @@ -80,9 +80,9 @@

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

Pagy::VARS[:overflow] = :last_page
# Trim extra: Remove the page=1 param from links
# See https://ddnexus.github.io/pagy/extras/trim
# require 'pagy/extras/trim'
Expand Down

0 comments on commit 1dc8deb

Please sign in to comment.