修改邮件标题统计

This commit is contained in:
Tim 2015-12-31 11:18:06 +08:00
parent c2578698f5
commit b380b515c6
1 changed files with 1 additions and 1 deletions

View File

@ -273,7 +273,7 @@ class Mailer < ActionMailer::Base
@subject = " #{user.show_name}#{l(:label_day_mail_first)}#{total_count}#{l(:label_day_mail_last)}" @subject = " #{user.show_name}#{l(:label_day_mail_first)}#{total_count}#{l(:label_day_mail_last)}"
mylogger.debug "Sent activity mail : #{user.mail} - #{has_content}" mylogger.debug "Sent activity mail : #{user.mail} - #{has_content}"
#有内容才发,没有不发 #有内容才发,没有不发
mail :to => user.mail,:subject => subject if has_content mail :to => user.mail,:subject => @subject if has_content
end end
# 作业截止时间邮件提醒 # 作业截止时间邮件提醒