Sha256: cd497749a6ec1a3d31786bbe66cdcb246d41e8c6ee7cd3f3cba8351f05871620
Contents?: true
Size: 773 Bytes
Versions: 6
Compression:
Stored size: 773 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}/lib/generators/templates/effective_datatables.rb") end end end
Version data entries
6 entries across 6 versions & 1 rubygems