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