diff options
author | Bwko <bouwko@gmail.com> | 2016-11-25 09:11:12 +0100 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2016-11-25 16:11:12 +0800 |
commit | c0ca6644ade5ce21d8c7601439d94ea1fed7443d (patch) | |
tree | 1499afb6db12488a8ce1df8708717f46eb6e89b6 /models/issue_mail.go | |
parent | 081c2a9395706e24bb396bf2aa9ac8a92d0a8f40 (diff) | |
download | gitea-c0ca6644ade5ce21d8c7601439d94ea1fed7443d.tar.gz gitea-c0ca6644ade5ce21d8c7601439d94ea1fed7443d.zip |
Lint/issue &mail (#243)
* Lint models/release.go
* Lint models/ issue_label, issue_mail & mail.go
Diffstat (limited to 'models/issue_mail.go')
-rw-r--r-- | models/issue_mail.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/issue_mail.go b/models/issue_mail.go index 424c0ca1ee..56c1e0c278 100644 --- a/models/issue_mail.go +++ b/models/issue_mail.go @@ -14,7 +14,7 @@ import ( "code.gitea.io/gitea/modules/setting" ) -func (issue *Issue) MailSubject() string { +func (issue *Issue) mailSubject() string { return fmt.Sprintf("[%s] %s (#%d)", issue.Repo.Name, issue.Title, issue.Index) } |