Sha256: 3b371f643a0858291d9060a04370861cc29574d955467b1077277baee545d867

Contents?: true

Size: 640 Bytes

Versions: 114

Compression:

Stored size: 640 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
      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

114 entries across 114 versions & 1 rubygems

Version Path
effective_datatables-2.4.3 lib/effective_datatables/engine.rb
effective_datatables-2.4.2 lib/effective_datatables/engine.rb
effective_datatables-2.4.1 lib/effective_datatables/engine.rb
effective_datatables-2.4.0 lib/effective_datatables/engine.rb
effective_datatables-2.3.8 lib/effective_datatables/engine.rb
effective_datatables-2.3.7 lib/effective_datatables/engine.rb
effective_datatables-2.3.6 lib/effective_datatables/engine.rb
effective_datatables-2.3.5 lib/effective_datatables/engine.rb
effective_datatables-2.3.4 lib/effective_datatables/engine.rb
effective_datatables-2.3.3 lib/effective_datatables/engine.rb
effective_datatables-2.3.2 lib/effective_datatables/engine.rb
effective_datatables-2.3.1 lib/effective_datatables/engine.rb
effective_datatables-2.3.0 lib/effective_datatables/engine.rb
effective_datatables-2.2.11 lib/effective_datatables/engine.rb
effective_datatables-2.2.10 lib/effective_datatables/engine.rb
effective_datatables-2.2.9 lib/effective_datatables/engine.rb
effective_datatables-2.2.8 lib/effective_datatables/engine.rb
effective_datatables-2.2.7 lib/effective_datatables/engine.rb
effective_datatables-2.2.6 lib/effective_datatables/engine.rb
effective_datatables-2.2.5 lib/effective_datatables/engine.rb