Sha256: faf10c499a798078843a96fb6877c187b0e22b6f9b7c8e8c55d6c597e4296b2e

Contents?: true

Size: 849 Bytes

Versions: 16

Compression:

Stored size: 849 Bytes

Contents

module Olivander
  class Engine < ::Rails::Engine
    isolate_namespace Olivander

    initializer "olivander.assets.precompile" do |app|
      app.config.assets.precompile += %w[
        adminlte.js
        auto_select2_controller.js
        datatable_index_charts_controller.js
        datatable_expandable_chart_controller.js
        turbo_flash_controller.js
        modal_controller.js
        lightbox_image_controller.js
        adminlte.css avatar0.png avatar1.png avatar2.png avatar3.png avatar4.png]
    end

    initializer "olivander.action_controller" do |app|
      ActiveSupport.on_load :action_controller do
        helper Olivander::ApplicationHelper
      end
    end

    initializer "olivander.importmap", before: "importmap" do |app|
      app.config.importmap.paths << Engine.root.join('config/importmap.rb')
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
five-two-nw-olivander-0.2.0.40 lib/olivander/engine.rb
five-two-nw-olivander-0.2.0.39 lib/olivander/engine.rb
five-two-nw-olivander-0.2.0.38 lib/olivander/engine.rb
five-two-nw-olivander-0.2.0.37 lib/olivander/engine.rb
five-two-nw-olivander-0.2.0.36 lib/olivander/engine.rb
five-two-nw-olivander-0.2.0.35 lib/olivander/engine.rb
five-two-nw-olivander-0.2.0.34 lib/olivander/engine.rb
five-two-nw-olivander-0.2.0.33 lib/olivander/engine.rb
five-two-nw-olivander-0.2.0.32 lib/olivander/engine.rb
five-two-nw-olivander-0.2.0.31 lib/olivander/engine.rb
five-two-nw-olivander-0.2.0.30 lib/olivander/engine.rb
five-two-nw-olivander-0.2.0.29 lib/olivander/engine.rb
five-two-nw-olivander-0.2.0.28 lib/olivander/engine.rb
five-two-nw-olivander-0.2.0.27 lib/olivander/engine.rb
five-two-nw-olivander-0.2.0.26 lib/olivander/engine.rb
five-two-nw-olivander-0.2.0.25 lib/olivander/engine.rb