diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-08-19 10:18:05 -0700 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-08-19 10:18:05 -0700 |
commit | ee1eb2948d30365be241bed6a68b29da57495af8 (patch) | |
tree | 4b04886c84c942973fb6b9b3b24f82b38430c2f0 /app | |
parent | 01c5ecedd405fed29dbae11039ecb1a90f170c28 (diff) | |
download | gitlab-ce-ee1eb2948d30365be241bed6a68b29da57495af8.tar.gz |
Turn reply-by-email attachments into uploads.
Diffstat (limited to 'app')
-rw-r--r-- | app/services/projects/upload_service.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/services/projects/upload_service.rb b/app/services/projects/upload_service.rb index 992a7a7a1dc..279550d6f4a 100644 --- a/app/services/projects/upload_service.rb +++ b/app/services/projects/upload_service.rb @@ -13,9 +13,9 @@ module Projects filename = uploader.image? ? uploader.file.basename : uploader.file.filename { - 'alt' => filename, - 'url' => uploader.secure_url, - 'is_image' => uploader.image? + alt: filename, + url: uploader.secure_url, + is_image: uploader.image? } end |