Sha256: 13dfdbe8a18dc8daa03b9be1fa2e3e9d41dc5568ee67dbfa3638886523905d1c
Contents?: true
Size: 501 Bytes
Versions: 12
Compression:
Stored size: 501 Bytes
Contents
require 'rails' require 'kaminari' require 'smart_table/engine' if defined?(Rails::Engine) require 'smart_table/version' require 'smart_table/config' require 'generators/init_generator' module SmartTable # Method called on the gem initializer def self.setup if block_given? yield Config end end # Constants SORT_PARAM = :st_sort PAGE_PARAM = :st_page PAGE_SIZE_PARAM = :st_page_size SEARCH_PARAM = :st_search SHOW_ALL = 'show_all' PAGE_SIZES = [10,50,200] end
Version data entries
12 entries across 12 versions & 1 rubygems