summaryrefslogtreecommitdiff
path: root/app/uploaders
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2016-07-08 18:30:32 +0200
committerRémy Coutable <remy@rymai.me>2016-07-19 18:51:09 +0200
commit356b2d2bd782289b6130a22531523562514aa7f6 (patch)
tree00f8178683d6837bf65edb49153c2c62b4cbaf23 /app/uploaders
parentc266c7fa18848586cd6ee903cc4c4d4f9049100e (diff)
downloadgitlab-ce-356b2d2bd782289b6130a22531523562514aa7f6.tar.gz
Get rid of `is_image` in FileUploader
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'app/uploaders')
-rw-r--r--app/uploaders/file_uploader.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/app/uploaders/file_uploader.rb b/app/uploaders/file_uploader.rb
index 80284fa294a..2f5f49f7de7 100644
--- a/app/uploaders/file_uploader.rb
+++ b/app/uploaders/file_uploader.rb
@@ -42,7 +42,6 @@ class FileUploader < CarrierWave::Uploader::Base
{
alt: filename,
url: self.secure_url,
- is_image: image_or_video?,
markdown: markdown
}
end