diff options
author | cstyles <collingstyles@gmail.com> | 2017-10-31 01:08:23 -0700 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2017-10-31 16:08:23 +0800 |
commit | b0b24a2dbb8bca7e99e432d383716d6d811b7981 (patch) | |
tree | 18dc922ae2d70bb8d12c3f237a8e3e3ecadfaf21 /models | |
parent | 82fc50f4ee6c078d669a8d51310c48e450a3886d (diff) | |
download | gitea-b0b24a2dbb8bca7e99e432d383716d6d811b7981.tar.gz gitea-b0b24a2dbb8bca7e99e432d383716d6d811b7981.zip |
Use RelAvatarLink() in GetActAvatar() (#2800)
Diffstat (limited to 'models')
-rw-r--r-- | models/action.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/action.go b/models/action.go index 81174d112f..ead34dbac2 100644 --- a/models/action.go +++ b/models/action.go @@ -141,7 +141,7 @@ func (a *Action) ShortActUserName() string { // GetActAvatar the action's user's avatar link func (a *Action) GetActAvatar() string { a.loadActUser() - return a.ActUser.AvatarLink() + return a.ActUser.RelAvatarLink() } // GetRepoUserName returns the name of the action repository owner. |