lib/pagy/countless.rb in pagy-5.10.1 vs lib/pagy/countless.rb in pagy-6.0.0
- old
+ new
@@ -28,10 +28,10 @@
self
end
# Override the original series.
# Return nil if :countless_minimal is enabled
- def series(*)
+ def series(*, **)
super unless @vars[:countless_minimal]
end
end
end