Sha256: 6f8e49935738fc2d2fcbefa8cb0cc749eb13b812acb4c836ddb73bf0fe8e662d
Contents?: true
Size: 584 Bytes
Versions: 3
Compression:
Stored size: 584 Bytes
Contents
module MightyGrid class MightyGridEngine < ::Rails::Engine initializer 'mighty_grid_railtie.configure_rails_initialization' do |app| ActiveSupport.on_load :action_controller do ActionController::Base.send(:include, MightyGrid::Controller) end ActiveSupport.on_load :action_view do ::ActionView::Base.class_eval { include MightyGrid::GridViewHelper } # It is here only until this pull request is pulled: https://github.com/amatsuda/kaminari/pull/267 require 'mighty_grid/kaminari_monkey_patching' end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
mighty_grid-1.0.0 | lib/mighty_grid/engine.rb |
mighty_grid-0.7.0 | lib/mighty_grid/engine.rb |
mighty_grid-0.6.1 | lib/mighty_grid/engine.rb |