Sha256: 58343d4b2feb31a6e257863632661e609c450fc58f159dd19063a114ef8deb4f
Contents?: true
Size: 685 Bytes
Versions: 15
Compression:
Stored size: 685 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 do 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
15 entries across 15 versions & 1 rubygems