aboutsummaryrefslogtreecommitdiffstats
path: root/models
diff options
context:
space:
mode:
authorGogs <gogitservice@gmail.com>2014-03-23 18:13:23 +0800
committerGogs <gogitservice@gmail.com>2014-03-23 18:13:23 +0800
commit964e537479c497a5ba42799a1c1a7c430720e990 (patch)
treeb375f9a485ad08495a9e178bfe7d720d55febead /models
parent79604f553f45af658a884544187b00fb9fa3169c (diff)
downloadgitea-964e537479c497a5ba42799a1c1a7c430720e990.tar.gz
gitea-964e537479c497a5ba42799a1c1a7c430720e990.zip
append route to web
Diffstat (limited to 'models')
-rw-r--r--models/user.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/user.go b/models/user.go
index 3c11091285..cedf342496 100644
--- a/models/user.go
+++ b/models/user.go
@@ -72,7 +72,7 @@ func (user *User) HomeLink() string {
// AvatarLink returns the user gravatar link.
func (user *User) AvatarLink() string {
- return "http://1.gravatar.com/avatar/" + user.Avatar
+ return "/avatar/" + user.Avatar
}
// NewGitSig generates and returns the signature of given user.