summaryrefslogtreecommitdiffstats
path: root/app/models
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-10-19 12:25:34 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-10-19 12:25:34 +0000
commit5e5712f82d8c01a03af8f40a604bba6e57b8cac9 (patch)
treec4e4a89fa23d7ecd52424f511f8d92b28f685d00 /app/models
parent7c796b96cc55e292a628120f1fbab98054683a54 (diff)
downloadredmine-5e5712f82d8c01a03af8f40a604bba6e57b8cac9.tar.gz
redmine-5e5712f82d8c01a03af8f40a604bba6e57b8cac9.zip
code cleanup: rubocop: fix Layout/CommentIndentation in app/models/mailer.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18772 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models')
-rw-r--r--app/models/mailer.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/mailer.rb b/app/models/mailer.rb
index 74ceaecfe..3f3b00e7c 100644
--- a/app/models/mailer.rb
+++ b/app/models/mailer.rb
@@ -643,8 +643,8 @@ class Mailer < ActionMailer::Base
from = mail_from.format
list_id = "<#{mail_from.address.to_s.tr('@', '.')}>"
rescue Mail::Field::IncompleteParseError
- # Use Setting.mail_from as it is if Mail::Address cannot parse it
- # (probably the emission address is not RFC compliant)
+ # Use Setting.mail_from as it is if Mail::Address cannot parse it
+ # (probably the emission address is not RFC compliant)
from = Setting.mail_from.to_s
list_id = "<#{from.tr('@', '.')}>"
end