Sha256: 6bbb1804841a645cf7499f23e5227bef8ffba13fb48983d99de98ba350c7844c

Contents?: true

Size: 289 Bytes

Versions: 6

Compression:

Stored size: 289 Bytes

Contents

module Rules
  class Engine < ::Rails::Engine
    isolate_namespace Rules

    initializer :active_admin do
      if defined? ActiveAdmin
        require 'rules/extensions/active_admin/dsl'
        ActiveAdmin.application.javascripts << 'rules/active_admin.js'
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rules-1.1.1 lib/rules/engine.rb
rules-1.1.0 lib/rules/engine.rb
rules-1.0.0 lib/rules/engine.rb
rules-0.1.2 lib/rules/engine.rb
rules-0.1.1 lib/rules/engine.rb
rules-0.1.0 lib/rules/engine.rb