From 733012cb65e43e41aa3b553c7fd02079cbf9eff4 Mon Sep 17 00:00:00 2001 From: Tomas Srna Date: Wed, 29 Oct 2014 10:52:54 +0100 Subject: [PATCH] Removed + '' + --- app/uploaders/attachment_uploader.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/uploaders/attachment_uploader.rb b/app/uploaders/attachment_uploader.rb index 24fc294909e..29a55b36ca5 100644 --- a/app/uploaders/attachment_uploader.rb +++ b/app/uploaders/attachment_uploader.rb @@ -27,7 +27,7 @@ class AttachmentUploader < CarrierWave::Uploader::Base end def url - Gitlab.config.gitlab.relative_url_root + '' + super unless super.nil? + Gitlab.config.gitlab.relative_url_root + super unless super.nil? end def file_storage?