Class: ActiveInsights::Engine

Inherits:
Rails::Engine
  • Object
show all
Defined in:
lib/active_insights/engine.rb

Class Method Summary collapse

Class Method Details

.importmapObject



7
8
9
10
11
12
# File 'lib/active_insights/engine.rb', line 7

def self.importmap
  @importmap ||=
    Importmap::Map.new.tap do |mapping|
      mapping.draw(Engine.root.join("config/importmap.rb"))
    end
end