lib/decidim/dev/engine.rb in decidim-dev-0.25.0 vs lib/decidim/dev/engine.rb in decidim-dev-0.25.1
- old
+ new
@@ -10,8 +10,12 @@
initializer "decidim_dev.tools" do
ActiveSupport.on_load :action_controller do
ActionController::Base.include Decidim::Dev::NeedsDevelopmentTools
end
end
+
+ initializer "decidim_dev.webpacker.assets_path" do
+ Decidim.register_assets_path File.expand_path("app/packs", root)
+ end
end
end
end