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.6.13 lib/effective_datatables/engine.rb
effective_datatables-2.6.12 lib/effective_datatables/engine.rb
effective_datatables-2.6.11 lib/effective_datatables/engine.rb
effective_datatables-2.6.10 lib/effective_datatables/engine.rb
effective_datatables-2.6.9 lib/effective_datatables/engine.rb
effective_datatables-2.6.8 lib/effective_datatables/engine.rb
effective_datatables-2.6.7 lib/effective_datatables/engine.rb
effective_datatables-2.6.6 lib/effective_datatables/engine.rb
effective_datatables-2.6.5 lib/effective_datatables/engine.rb
effective_datatables-2.6.4 lib/effective_datatables/engine.rb
effective_datatables-2.6.3 lib/effective_datatables/engine.rb
effective_datatables-2.6.2 lib/effective_datatables/engine.rb
effective_datatables-2.6.1 lib/effective_datatables/engine.rb
effective_datatables-2.6.0 lib/effective_datatables/engine.rb
effective_datatables-2.5.2 lib/effective_datatables/engine.rb
effective_datatables-2.5.1 lib/effective_datatables/engine.rb
effective_datatables-2.5.0 lib/effective_datatables/engine.rb
effective_datatables-2.4.6 lib/effective_datatables/engine.rb
effective_datatables-2.4.5 lib/effective_datatables/engine.rb
effective_datatables-2.4.4 lib/effective_datatables/engine.rb