Sha256: 20f6be7e5b74558d4899b90b2ff878d36b2f9f988b34910de5923bfdbf69a6e8
Contents?: true
Size: 1.29 KB
Versions: 4
Compression:
Stored size: 1.29 KB
Contents
require 'kaminari' require 'action_view' require 'mighty_grid/helpers/view_helpers' module MightyGrid extend ActiveSupport::Autoload autoload :Base autoload :Parameters autoload :Filters autoload :Column autoload :GridRenderer autoload :FilterRenderer autoload :Exceptions @@configured = false def self.configured? #:nodoc: @@configured end mattr_accessor :grid_name @@grid_name = 'grid' mattr_accessor :per_page @@per_page = 15 mattr_accessor :order_direction @@order_direction = 'asc' mattr_accessor :order_type @@order_type = 'single' mattr_accessor :order_asc @@order_asc = '↑' mattr_accessor :order_desc @@order_desc = '↓' mattr_accessor :order_asc_link_class @@order_asc_link_class = '' mattr_accessor :order_desc_link_class @@order_desc_link_class = '' mattr_accessor :order_active_link_class @@order_active_link_class = 'mg-order-active' mattr_accessor :order_wrapper_class @@order_wrapper_class = '' mattr_accessor :table_class @@table_class = '' mattr_accessor :header_tr_class @@header_tr_class = '' mattr_accessor :pagination_theme @@pagination_theme = 'mighty_grid' def self.setup @@configured = true yield self end end require 'mighty_grid/mighty_grid_ext' require 'mighty_grid/engine'
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
mighty_grid-2.1.1 | lib/mighty_grid.rb |
mighty_grid-2.1.0 | lib/mighty_grid.rb |
mighty_grid-2.0.0 | lib/mighty_grid.rb |
mighty_grid-2.0.0.rc1 | lib/mighty_grid.rb |