Merge branch '44508-fix-fork-namespace-images' into 'master'

Resolve "When forking any project, the images (avatar) of the groups (and subgroups) are not loaded."

Closes #44508

See merge request gitlab-org/gitlab-ce!18048
This commit is contained in:
Rémy Coutable 2018-03-28 16:03:59 +00:00
commit a91b158ec0
2 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -0,0 +1,5 @@
---
title: Fix bug rendering group icons when forking
merge_request:
author:
type: fixed