diff options
author | Unknwon <u@gogs.io> | 2016-08-05 12:12:54 -0700 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2016-08-05 12:12:54 -0700 |
commit | 50422f1fc226d71fe2f5f701c7ebdd1a5f2d143e (patch) | |
tree | 649757ae8cac275b0501e684d1c7bb0a5ee2d7d9 /routers | |
parent | db3d393576c716dbbea500791c5f800e52c70be5 (diff) | |
download | gitea-50422f1fc226d71fe2f5f701c7ebdd1a5f2d143e.tar.gz gitea-50422f1fc226d71fe2f5f701c7ebdd1a5f2d143e.zip |
#3348 always use relative avatar link in the template
Diffstat (limited to 'routers')
-rw-r--r-- | routers/user/home.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/user/home.go b/routers/user/home.go index dab30eb5d2..95d0b582b5 100644 --- a/routers/user/home.go +++ b/routers/user/home.go @@ -77,7 +77,7 @@ func retrieveFeeds(ctx *context.Context, ctxUser *models.User, userID, offset in ctx.Handle(500, "GetUserByName", err) return } - unameAvatars[act.ActUserName] = u.AvatarLink() + unameAvatars[act.ActUserName] = u.RelAvatarLink() } act.ActAvatar = unameAvatars[act.ActUserName] |