Sha256: eef1a355750d7ac427e7b5a29d0a9fb9d52a1dafe2529f6a533db0cd6cbcf00a
Contents?: true
Size: 775 Bytes
Versions: 45
Compression:
Stored size: 775 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 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
45 entries across 45 versions & 1 rubygems