lib/tolk/pagination.rb in tolk-4.0.1 vs lib/tolk/pagination.rb in tolk-4.1.0
- old
+ new
@@ -18,10 +18,10 @@
if respond_to?(:will_paginate)
# If parent app is using Will Paginate, we need to use it also
will_paginate collection, options
else
# Otherwise use Kaminari
- paginate collection, options
+ paginate collection, **options
end
end
end
end
end