A platform for community discussion. Free, open, simple.
FIX: use correct sprite path for non-local setups
Penar Musarajf7875eaeb780
diff --git a/lib/svg_sprite/svg_sprite.rb b/lib/svg_sprite/svg_sprite.rbindex 2ccb63cb5e1..efdb832531a 100644--- a/lib/svg_sprite/svg_sprite.rb+++ b/lib/svg_sprite/svg_sprite.rb@@ -206,7 +206,7 @@ module SvgSpriteoriginal_path = external_copy.try(:path)end- custom_sprite_paths << Discourse.store.path_for(upload) if original_path.present?+ custom_sprite_paths << original_path if original_path.present?endcustom_sprite_paths