Retrieve namespace owner's avatar by owner, not owner#email.
This commit is contained in:
parent
9adafff0b2
commit
c015ea818d
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ module NamespacesHelper
|
|||
if namespace.is_a?(Group)
|
||||
group_icon(namespace)
|
||||
else
|
||||
avatar_icon(namespace.owner.email, size)
|
||||
avatar_icon_for_user(namespace.owner, size)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue