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:
parent
3adbc579bc
commit
22d9390b11
2 changed files with 6 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
title: Fix bug rendering group icons when forking
|
||||
merge_request:
|
||||
author:
|
||||
type: fixed
|
Loading…
Reference in a new issue