Commit a9d1038f authored by Jeroen van Baarsen's avatar Jeroen van Baarsen

Fixed the no_avatar.png path

Fixes: https://github.com/gitlabhq/gitlabhq/issues/4394
parent 80c4657f
......@@ -62,7 +62,7 @@ module ApplicationHelper
size = 40 if size.nil? || size <= 0
if !Gitlab.config.gravatar.enabled || user_email.blank?
'no_avatar.png'
'/assets/no_avatar.png'
else
gravatar_url = request.ssl? || gitlab_config.https ? Gitlab.config.gravatar.ssl_url : Gitlab.config.gravatar.plain_url
user_email.strip!
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment