Sha256: eb5d201ce3551bca03f36f0aa3db017b37c684d9c9051fbf10fc6b3976a2d122
Contents?: true
Size: 393 Bytes
Versions: 2
Compression:
Stored size: 393 Bytes
Contents
module Chartkick class Engine < ::Rails::Engine # for assets # for importmap if defined?(Importmap) initializer "chartkick.importmap", after: "importmap" do |app| app.importmap.draw(Engine.root.join("config/importmap.rb")) app.config.assets.precompile << "chartkick.js" app.config.assets.precompile << "Chart.bundle.js" end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
chartkick-4.1.1 | lib/chartkick/engine.rb |
chartkick-4.1.0 | lib/chartkick/engine.rb |