summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Brandl <abrandl@gitlab.com>2018-02-09 12:30:35 +0100
committerAndreas Brandl <abrandl@gitlab.com>2018-02-13 18:04:51 +0100
commitc015ea818d1c08382c96ed719b7c3d7f8ce78e61 (patch)
tree11bfd8c595ae34f446746f82583e52a9ffcde8da
parent9adafff0b22d7c9593ca470cd08298d45b9cb732 (diff)
downloadgitlab-ce-c015ea818d1c08382c96ed719b7c3d7f8ce78e61.tar.gz
Retrieve namespace owner's avatar by owner, not owner#email.
-rw-r--r--app/helpers/namespaces_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/namespaces_helper.rb b/app/helpers/namespaces_helper.rb
index b78d3072186..40ca666f1bf 100644
--- a/app/helpers/namespaces_helper.rb
+++ b/app/helpers/namespaces_helper.rb
@@ -33,7 +33,7 @@ module NamespacesHelper
if namespace.is_a?(Group)
group_icon(namespace)
else
- avatar_icon(namespace.owner.email, size)
+ avatar_icon_for_user(namespace.owner, size)
end
end