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

This commit is contained in:
Stan Hu 2015-09-16 10:52:23 -07:00
parent 0696aeb3dc
commit 71cdb24990
2 changed files with 2 additions and 2 deletions

View File

@ -82,7 +82,7 @@ module ApplicationHelper
end
def default_avatar
image_path('no_avatar.png')
'no_avatar.png'
end
def last_commit(project)

View File

@ -27,7 +27,7 @@ module GroupsHelper
if group && group.avatar.present?
group.avatar.url
else
image_path('no_group_avatar.png')
'no_group_avatar.png'
end
end