Sha256: 1f250a15682bd17295abddd9a35719b288200013a94a52af460a0a59054fbaec
Contents?: true
Size: 755 Bytes
Versions: 2
Compression:
Stored size: 755 Bytes
Contents
module EffectiveDatatables class Engine < ::Rails::Engine engine_name 'effective_datatables' config.autoload_paths += Dir["#{config.root}/app/models/concerns"] # Include Helpers to base application initializer 'effective_datatables.action_controller' do |app| ActiveSupport.on_load :action_controller 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
effective_datatables-2.8.0 | lib/effective_datatables/engine.rb |
effective_datatables-2.7.0 | lib/effective_datatables/engine.rb |