diff options
author | Mark Fletcher <mark@gitlab.com> | 2018-03-28 14:09:07 +0100 |
---|---|---|
committer | Mark Fletcher <mark@gitlab.com> | 2018-03-28 14:09:32 +0100 |
commit | 22d9390b11c2ec2af09e16679036705bdd3bbfa8 (patch) | |
tree | de04337295bf3a960176d9400fb051f76d4760cb /app/helpers/namespaces_helper.rb | |
parent | 3adbc579bc45bf61510bc83900d07e8b0bafa088 (diff) | |
download | gitlab-ce-22d9390b11c2ec2af09e16679036705bdd3bbfa8.tar.gz |
Fix bug rendering group icons when forking
- NamespacesHelper#namespace_icon should return a URL instead of an image_tag for groups
Diffstat (limited to 'app/helpers/namespaces_helper.rb')
-rw-r--r-- | app/helpers/namespaces_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/namespaces_helper.rb b/app/helpers/namespaces_helper.rb index 40ca666f1bf..9be93fa69ae 100644 --- a/app/helpers/namespaces_helper.rb +++ b/app/helpers/namespaces_helper.rb @@ -31,7 +31,7 @@ module NamespacesHelper def namespace_icon(namespace, size = 40) if namespace.is_a?(Group) - group_icon(namespace) + group_icon_url(namespace) else avatar_icon_for_user(namespace.owner, size) end |