Sha256: 0942a9c1b4da5a335983956c81a67cbe21246d098374a43bbe04142932fb608e
Contents?: true
Size: 365 Bytes
Versions: 4
Compression:
Stored size: 365 Bytes
Contents
require 'active_support/configurable' module SimplePaginate def self.configure(&block) yield @config ||= SimplePaginate::Configuration.new end def self.config @config end class Configuration include ActiveSupport::Configurable config_accessor :default_per_page end configure do |config| config.default_per_page = 25 end end
Version data entries
4 entries across 4 versions & 1 rubygems