Sha256: 4739fd6b2aecca0e35318a7592aac7240efde90acf4b53c50078db98dc760460
Contents?: true
Size: 693 Bytes
Versions: 2
Compression:
Stored size: 693 Bytes
Contents
# frozen_string_literal: true module BootstrapFeedbacker class Engine < ::Rails::Engine isolate_namespace BootstrapFeedbacker config.to_prepare do ::ApplicationController.helper(ModalsHelper) end initializer "bootstrap_feedbacker.assets" do if Rails.application.config.respond_to?(:assets) Rails.application.config.assets.precompile += %w( controllers/bootstrap_feedbacker/remarks_controller.js ) end end initializer "bootstrap_feedbacker.importmap", before: "importmap" do |app| if Rails.application.respond_to?(:importmap) app.config.importmap.paths << Engine.root.join("config/importmap.rb") end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
bootstrap_feedbacker-0.6.0 | lib/bootstrap_feedbacker/engine.rb |
bootstrap_feedbacker-0.5.0 | lib/bootstrap_feedbacker/engine.rb |