mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-13 22:59:19 +10:00
Fix default avatars to ensure that helpers don't have /assets dir appended
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user