Sha256: c440ade7e64efce1200973bf1ea0d986fb57f552fe07f00ffa25ce26464b5c7f

Contents?: true

Size: 806 Bytes

Versions: 18

Compression:

Stored size: 806 Bytes

Contents

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

    initializer "olivander.assets.precompile" do |app|
      app.config.assets.precompile += %w[
        adminlte.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

18 entries across 18 versions & 1 rubygems

Version Path
five-two-nw-olivander-0.2.0.23 lib/olivander/engine.rb
five-two-nw-olivander-0.2.0.22 lib/olivander/engine.rb
five-two-nw-olivander-0.2.0.19 lib/olivander/engine.rb
five-two-nw-olivander-0.2.0.18 lib/olivander/engine.rb
five-two-nw-olivander-0.2.0.17 lib/olivander/engine.rb
five-two-nw-olivander-0.2.0.16 lib/olivander/engine.rb
five-two-nw-olivander-0.2.0.15 lib/olivander/engine.rb
five-two-nw-olivander-0.2.0.14 lib/olivander/engine.rb
five-two-nw-olivander-0.2.0.13 lib/olivander/engine.rb
five-two-nw-olivander-0.2.0.12 lib/olivander/engine.rb
five-two-nw-olivander-0.2.0.11 lib/olivander/engine.rb
five-two-nw-olivander-0.2.0.10 lib/olivander/engine.rb
five-two-nw-olivander-0.2.0.9 lib/olivander/engine.rb
five-two-nw-olivander-0.2.0.8 lib/olivander/engine.rb
five-two-nw-olivander-0.2.0.7 lib/olivander/engine.rb
five-two-nw-olivander-0.2.0.6 lib/olivander/engine.rb
five-two-nw-olivander-0.2.0.5 lib/olivander/engine.rb
five-two-nw-olivander-0.2.0.4 lib/olivander/engine.rb