summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Zallmann <tzallmann@gitlab.com>2017-10-05 23:17:52 +0200
committerTim Zallmann <tzallmann@gitlab.com>2017-10-05 23:17:52 +0200
commit3d152cd2058a928ec26efe90240b66e5e62ed677 (patch)
tree128f533942e139262086d17ff6913ed3f76d3cb7
parentc786c8dcb334fbacf5b6e4fbf2da1910f94d80c4 (diff)
downloadgitlab-ce-3d152cd2058a928ec26efe90240b66e5e62ed677.tar.gz
Fixed Linting Error
-rw-r--r--app/helpers/application_helper.rb8
1 files changed, 0 insertions, 8 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb
index 264f21a1466..466e1170181 100644
--- a/app/helpers/application_helper.rb
+++ b/app/helpers/application_helper.rb
@@ -41,15 +41,7 @@ module ApplicationHelper
end
if project.avatar_url
- #if project.private?
- # options[:use_original_source] = true
- # image_tag project.avatar_url(use_asset_path: false), options
- #else
- # image_tag project.avatar_url, options
- #end
-
image_tag project.avatar_url(use_asset_path: project.public?), options
-
else # generated icon
project_identicon(project, options)
end