Commit 71cdb249 authored by Stan Hu's avatar Stan Hu
Browse files

Fix default avatars to ensure that helpers don't have /assets dir appended

parent 1459c1d2124e
......@@ -82,7 +82,7 @@ def gravatar_icon(user_email = '', size = nil)
end
def default_avatar
image_path('no_avatar.png')
'no_avatar.png'
end
def last_commit(project)
......
......@@ -27,7 +27,7 @@ def group_icon(group)
if group && group.avatar.present?
group.avatar.url
else
image_path('no_group_avatar.png')
'no_group_avatar.png'
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