Sha256: b165bb818a1dafba054f7ef873c1853727e2f32cb974e5321001a8689e7ff4ac

Contents?: true

Size: 510 Bytes

Versions: 1

Compression:

Stored size: 510 Bytes

Contents

require "i18n"
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)
    yield Config
  end
end

Paginate.configure do |config|
  config.param_name = :page
  config.size  = 10
  config.renderer = Paginate::Renderer::List
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
paginate-3.0.0 lib/paginate.rb