issue邮件name问题

This commit is contained in:
huang 2016-01-21 15:52:07 +08:00
parent ff475fb00b
commit 56e804b423
1 changed files with 1 additions and 1 deletions

View File

@ -384,7 +384,7 @@ class Mailer < ActionMailer::Base
@author = issue.author.login
@issue_name = issue.subject
@issue_url = url_for(:controller => 'issues', :action => 'show', :id => issue.id)
@subject = "#{l(:mail_issue)}#{issue.name} #{l(:mail_issue_due_date)} "
@subject = "#{l(:mail_issue)}#{issue.subject} #{l(:mail_issue_due_date)} "
mail :to => recipients,
:subject => @subject
end