Sha256: 620f39ec7bbb5525b92edb46aa693253dec2a511dc36e0f35b91e500da89fba3
Contents?: true
Size: 779 Bytes
Versions: 89
Compression:
Stored size: 779 Bytes
Contents
module EffectiveDatatables class Engine < ::Rails::Engine engine_name 'effective_datatables' config.autoload_paths += Dir["#{config.root}/app/models/concerns", '/app/datatables/**/'] # Include Helpers to base application initializer 'effective_datatables.action_controller' do |app| ActiveSupport.on_load :action_controller_base do helper EffectiveDatatablesHelper helper EffectiveDatatablesPrivateHelper ActionController::Base.send :include, ::EffectiveDatatablesControllerHelper end end # Set up our default configuration options. initializer 'effective_datatables.defaults', before: :load_config_initializers do |app| eval File.read("#{config.root}/config/effective_datatables.rb") end end end
Version data entries
89 entries across 89 versions & 1 rubygems