Fixed the no_avatar.png path

Fixes: https://github.com/gitlabhq/gitlabhq/issues/4394
This commit is contained in:
Jeroen van Baarsen 2013-12-16 21:56:45 +01:00
parent 80c4657fa7
commit a9d1038f03

View file

@ -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!