Sha256: bae235de24851b146679dfc17d5ffe1fc607b4f6856c112871c66b791044e5eb
Contents?: true
Size: 362 Bytes
Versions: 1
Compression:
Stored size: 362 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.setup(&block) yield Config end end Paginate.setup do |config| config.param_name = :page config.size = 10 end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
paginate-1.0.0 | lib/paginate.rb |