Sha256: 899099459ff72bee21e02bc7674d59446c79c1520cc069497536ae7ada2daf77
Contents?: true
Size: 587 Bytes
Versions: 13
Compression:
Stored size: 587 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
13 entries across 13 versions & 1 rubygems