lib/paginate/base.rb in paginate-3.0.0 vs lib/paginate/base.rb in paginate-4.0.0
- old
+ new
@@ -10,10 +10,10 @@
@options = options
else
@options = {page: options.to_i}
end
- @options.reverse_merge!(Paginate::Config.to_hash)
+ @options.reverse_merge!(Paginate.configuration.to_hash)
end
def collection_size
@collection_size ||= options[:collection].size
end