Fix bug rendering group icons when forking

- NamespacesHelper#namespace_icon should return a URL instead of an image_tag for groups
This commit is contained in:
Mark Fletcher 2018-03-28 14:09:07 +01:00
parent 3adbc579bc
commit 22d9390b11
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