summaryrefslogtreecommitdiff
path: root/app/controllers/concerns/page_limiter.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/concerns/page_limiter.rb')
-rw-r--r--app/controllers/concerns/page_limiter.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/concerns/page_limiter.rb b/app/controllers/concerns/page_limiter.rb
index 3c280fa4f12..362b02e5856 100644
--- a/app/controllers/concerns/page_limiter.rb
+++ b/app/controllers/concerns/page_limiter.rb
@@ -46,7 +46,7 @@ module PageLimiter
if params[:page].present? && params[:page].to_i > max_page_number
record_page_limit_interception
- raise PageOutOfBoundsError.new(max_page_number)
+ raise PageOutOfBoundsError, max_page_number
end
end