mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-15 23:56:09 +10:00
Merge pull request #5862 from jvanbaarsen/patch-1
Fixed the no_avatar.png path
This commit is contained in:
@@ -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!
|
||||
|
||||
Reference in New Issue
Block a user