Commit c015ea81 authored by Andreas Brandl's avatar Andreas Brandl

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

parent 9adafff0
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment