diff options
author | Felix Geyer <debfx@fobos.de> | 2018-01-24 01:25:44 +0300 |
---|---|---|
committer | Felix Geyer <debfx@fobos.de> | 2018-01-28 19:39:22 +0300 |
commit | 94039bd7ca750446c637b924547493cfe8143716 (patch) | |
tree | 02c3cb6f7ef39419336065faba40f666690a11f5 /app/helpers/application_helper.rb | |
parent | dc325c672e20afa953117b0e1b04b2e399f391d7 (diff) |
Make default_avatar return a full path.
Callers expect a URL.
This fixes the avatars in commit lists when a user has no avatar and
Gravatar is disabled.
Closes #38715
Diffstat (limited to 'app/helpers/application_helper.rb')
-rw-r--r-- | app/helpers/application_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index d13407a06c8..6530327698b 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -89,7 +89,7 @@ module ApplicationHelper end def default_avatar - 'no_avatar.png' + asset_path('no_avatar.png') end def last_commit(project) |