lib/decidim/admin/engine.rb in decidim-admin-0.0.1.alpha5 vs lib/decidim/admin/engine.rb in decidim-admin-0.0.1.alpha6

- old
+ new

@@ -18,14 +18,11 @@ module Admin # Decidim's core Rails Engine. class Engine < ::Rails::Engine isolate_namespace Decidim::Admin - config.to_prepare do - Rails.application.config.assets.precompile += %w( - decidim/admin.js - decidim/admin.css - ) + initializer "decidim_admin.assets" do |app| + app.config.assets.precompile += %w(decidim_admin_manifest.js) end end end end