Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Guedes <andrebsguedes@gmail.com>2016-11-29 19:51:45 +0300
committerAndre Guedes <andrebsguedes@gmail.com>2016-12-08 05:29:43 +0300
commitc6acc7ed437e4dfef3fed9346718e67cd5905547 (patch)
tree0fadf3e3c5285343f2cfb837d5aa0fcc25ddd1c4 /app/uploaders
parent50a784482e997cc039015e24b37d3f8a01a9cd3e (diff)
Render SVG as images in notes
Diffstat (limited to 'app/uploaders')
-rw-r--r--app/uploaders/uploader_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/uploaders/uploader_helper.rb b/app/uploaders/uploader_helper.rb
index b10ad71d052..fbaea2744a3 100644
--- a/app/uploaders/uploader_helper.rb
+++ b/app/uploaders/uploader_helper.rb
@@ -1,6 +1,6 @@
# Extra methods for uploader
module UploaderHelper
- IMAGE_EXT = %w[png jpg jpeg gif bmp tiff]
+ IMAGE_EXT = %w[png jpg jpeg gif bmp tiff svg]
# We recommend using the .mp4 format over .mov. Videos in .mov format can
# still be used but you really need to make sure they are served with the
# proper MIME type video/mp4 and not video/quicktime or your videos won't play