Commit a9d1038f0355db6ec975a5080cfe09d4b1b99338
1 parent
80c4657f
Exists in
master
and in
4 other branches
Fixed the no_avatar.png path
Fixes: https://github.com/gitlabhq/gitlabhq/issues/4394
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/helpers/application_helper.rb
@@ -62,7 +62,7 @@ module ApplicationHelper | @@ -62,7 +62,7 @@ module ApplicationHelper | ||
62 | size = 40 if size.nil? || size <= 0 | 62 | size = 40 if size.nil? || size <= 0 |
63 | 63 | ||
64 | if !Gitlab.config.gravatar.enabled || user_email.blank? | 64 | if !Gitlab.config.gravatar.enabled || user_email.blank? |
65 | - 'no_avatar.png' | 65 | + '/assets/no_avatar.png' |
66 | else | 66 | else |
67 | gravatar_url = request.ssl? || gitlab_config.https ? Gitlab.config.gravatar.ssl_url : Gitlab.config.gravatar.plain_url | 67 | gravatar_url = request.ssl? || gitlab_config.https ? Gitlab.config.gravatar.ssl_url : Gitlab.config.gravatar.plain_url |
68 | user_email.strip! | 68 | user_email.strip! |