Fix default avatars to ensure that helpers don't have /assets dir appended
This commit is contained in:
parent
0696aeb3dc
commit
71cdb24990
2 changed files with 2 additions and 2 deletions
|
@ -82,7 +82,7 @@ module ApplicationHelper
|
|||
end
|
||||
|
||||
def default_avatar
|
||||
image_path('no_avatar.png')
|
||||
'no_avatar.png'
|
||||
end
|
||||
|
||||
def last_commit(project)
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue