diff options
author | Stan Hu <stanhu@gmail.com> | 2015-09-16 20:52:23 +0300 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2015-09-16 20:52:23 +0300 |
commit | 71cdb24990beb0d6f0d3d845d01e75b14180801b (patch) | |
tree | d5dbcfc0d2dc70b73e0e744690a0bab5240ce5fd /app | |
parent | 0696aeb3dcdb8b083b63f81fc6fcac51766afffe (diff) |
Fix default avatars to ensure that helpers don't have /assets dir appended
Diffstat (limited to 'app')
-rw-r--r-- | app/helpers/application_helper.rb | 2 | ||||
-rw-r--r-- | app/helpers/groups_helper.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index c3da54fd554..b049bd9fcc2 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -82,7 +82,7 @@ module ApplicationHelper end def default_avatar - image_path('no_avatar.png') + 'no_avatar.png' end def last_commit(project) diff --git a/app/helpers/groups_helper.rb b/app/helpers/groups_helper.rb index 82eebf4245b..5e70de23f29 100644 --- a/app/helpers/groups_helper.rb +++ b/app/helpers/groups_helper.rb @@ -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 |