about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--app/models/concerns/paginable.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/concerns/paginable.rb b/app/models/concerns/paginable.rb
index 52f186918..8863094f7 100644
--- a/app/models/concerns/paginable.rb
+++ b/app/models/concerns/paginable.rb
@@ -20,7 +20,7 @@ module Paginable
       query
     }
 
-    scope :paginate_by_id, ->(limit, **options) {
+    scope :paginate_by_id, ->(limit, options = {}) {
       if options[:min_id].present?
         paginate_by_min_id(limit, options[:min_id]).reverse
       else