Sha256: 03feb635d26ca6744610567c092e97da8ae81d25da0f070bff9021d79868cc0a
Contents?: true
Size: 495 Bytes
Versions: 6
Compression:
Stored size: 495 Bytes
Contents
require 'pagers/action_view/base' require 'pagers/active_record/base' require 'pagers/active_record/relation' require 'pagers/engine' require 'pagers/railtie' module Pagers class << self def configure yield config end def config @config ||= begin ActiveSupport::OrderedOptions.new.tap do |config| config.length = 20 config.padding = 0 config.parameter = :page config.pages = 5 end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems
Version | Path |
---|---|
pagers-3.1.5 | lib/pagers.rb |
pagers-3.1.4 | lib/pagers.rb |
pagers-3.1.3 | lib/pagers.rb |
pagers-3.1.2 | lib/pagers.rb |
pagers-3.1.1 | lib/pagers.rb |
pagers-3.1.0 | lib/pagers.rb |