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