]> source.dussan.org Git - redmine.git/commitdiff
Fix path for plugin assets in icons rake task (#23980, #41712).
authorMarius Balteanu <marius.balteanu@zitec.com>
Sun, 10 Nov 2024 20:24:24 +0000 (20:24 +0000)
committerMarius Balteanu <marius.balteanu@zitec.com>
Sun, 10 Nov 2024 20:24:24 +0000 (20:24 +0000)
Patch by Takenori TAKAKI (user:takenory).

git-svn-id: https://svn.redmine.org/redmine/trunk@23237 e93f8b46-1217-0410-a6f0-8f06a7374b81

lib/tasks/icons.rake

index bda10f2a21f2017cbd6c6a16bb2a3f13d43888be..d26f4405ab7919659d07a5c8ad7b911b8a8c16f6 100644 (file)
@@ -75,7 +75,7 @@ unless Rails.env.production?
         end
 
         input_path = Rails.root.join("tmp", "icons", name)
-        sprite_path = Rails.root.join('plugins', name, 'app', 'assets', 'images', 'icons.svg')
+        sprite_path = Rails.root.join('plugins', name, 'assets', 'images', 'icons.svg')
 
         generate_svg_sprite(input_path, sprite_path)
       end