Skip to content
Snippets Groups Projects
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 0696aeb3
No related branches found
No related tags found
1 merge request!1314Fix default avatars to ensure that helpers don't have /assets dir appended
Loading
@@ -82,7 +82,7 @@ module ApplicationHelper
Loading
@@ -82,7 +82,7 @@ module ApplicationHelper
end end
   
def default_avatar def default_avatar
image_path('no_avatar.png') 'no_avatar.png'
end end
   
def last_commit(project) def last_commit(project)
Loading
Loading
Loading
@@ -27,7 +27,7 @@ module GroupsHelper
Loading
@@ -27,7 +27,7 @@ module GroupsHelper
if group && group.avatar.present? if group && group.avatar.present?
group.avatar.url group.avatar.url
else else
image_path('no_group_avatar.png') 'no_group_avatar.png'
end end
end end
   
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment