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