lib/paginate.rb in paginate-2.0.0 vs lib/paginate.rb in paginate-3.0.0

- old
+ new

@@ -2,10 +2,13 @@ require "active_record" require "paginate/base" require "paginate/config" require "paginate/helper" require "paginate/renderer" +require "paginate/renderer/list" +require "paginate/renderer/more" +require "paginate/extension" require "paginate/active_record" require "paginate/action_controller" module Paginate def self.configure(&block) @@ -14,6 +17,7 @@ end Paginate.configure do |config| config.param_name = :page config.size = 10 + config.renderer = Paginate::Renderer::List end