From 22d9390b11c2ec2af09e16679036705bdd3bbfa8 Mon Sep 17 00:00:00 2001 From: Mark Fletcher Date: Wed, 28 Mar 2018 14:09:07 +0100 Subject: Fix bug rendering group icons when forking - NamespacesHelper#namespace_icon should return a URL instead of an image_tag for groups --- app/helpers/namespaces_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/helpers') 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 -- cgit v1.2.1