Sha256: 055959be442ff8c9573b4bdfc60ef0c5cd9238bec680aa6f999a34fd0d23a223
Contents?: true
Size: 778 Bytes
Versions: 8
Compression:
Stored size: 778 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
8 entries across 8 versions & 1 rubygems