CustomAvatarPath returns repository custom avatar file path.
()
| 310 | |
| 311 | // CustomAvatarPath returns repository custom avatar file path. |
| 312 | func (r *Repository) CustomAvatarPath() string { |
| 313 | return filepath.Join(conf.Picture.RepositoryAvatarUploadPath, com.ToStr(r.ID)) |
| 314 | } |
| 315 | |
| 316 | // RelAvatarLink returns relative avatar link to the site domain, |
| 317 | // which includes app sub-url as prefix. |
no outgoing calls
no test coverage detected