lib/formstrap/engine.rb in formstrap-0.3.5 vs lib/formstrap/engine.rb in formstrap-0.4.2

- old
+ new

@@ -14,14 +14,7 @@ # Add assets to precompilation list initializer "formstrap.assets" do |app| next unless app.config.respond_to?(:assets) app.config.assets.precompile += %w[formstrap.js formstrap.css formstrap.scss] end - - # Add importmap to main app - initializer "headmin.importmap", before: "importmap" do |app| - next unless app.config.respond_to?(:importmap) - app.config.importmap.paths << Engine.root.join("config/importmap.rb") - app.config.importmap.cache_sweepers << Engine.root.join("app/assets/javascripts") - end end end