This commit is contained in:
Vokhmin Alexey V 2013-03-13 16:14:24 +04:00
parent 7986f41986
commit 30712be4cc
1 changed files with 2 additions and 2 deletions

View File

@ -62,8 +62,8 @@ class UserMailer < ActionMailer::Base
protected
def subject_for_issue(issue, create = false)
subject = create ? '' : 'Re: '
def subject_for_issue(issue, new_issue = false)
subject = new_issue ? '' : 'Re: '
subject << "[#{issue.project.name}] #{issue.title} (##{issue.serial_id})"
end
end