Commit 871b6622 authored by Andreas Brandl's avatar Andreas Brandl

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

parent 2ea3e837
......@@ -35,7 +35,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