Sha256: 8ec9440e49c4cce708cf8a6d46e9ce4b159197f0dd77b8cdb0a95f558dccf4b8

Contents?: true

Size: 370 Bytes

Versions: 1

Compression:

Stored size: 370 Bytes

Contents

require "i18n"
require "active_record"
require "paginate/base"
require "paginate/config"
require "paginate/helper"
require "paginate/renderer"
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
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
paginate-2.0.0 lib/paginate.rb