lib/paginate/renderer.rb in paginate-3.0.0 vs lib/paginate/renderer.rb in paginate-4.0.0
- old
+ new
@@ -12,10 +12,10 @@
# like `Paginate::Base#next_page?`.
attr_reader :processor
def initialize(view_context, options)
@view_context = view_context
- @options = options.reverse_merge(Paginate::Config.to_hash)
+ @options = options.reverse_merge(Paginate.configuration.to_hash)
@processor = Paginate::Base.new(nil, options)
end
# Return the URL for previous page.
def previous_url