Retrieve namespace owner's avatar by owner, not owner#email.

This commit is contained in:
Andreas Brandl 2018-02-09 12:30:35 +01:00
parent 9adafff0b2
commit c015ea818d

View file

@ -33,7 +33,7 @@ module NamespacesHelper
if namespace.is_a?(Group) if namespace.is_a?(Group)
group_icon(namespace) group_icon(namespace)
else else
avatar_icon(namespace.owner.email, size) avatar_icon_for_user(namespace.owner, size)
end end
end end