diff options
author | Rémy Coutable <remy@rymai.me> | 2018-12-10 13:59:17 +0100 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2018-12-10 13:59:33 +0100 |
commit | d78272a13b50e912b1ac946da8eec2e75bc6eb41 (patch) | |
tree | 7786eb58b9c8ed4859a4cf5191a70733a8fdfddd /app/mailers | |
parent | 5a727a4d36674d02369f4ef8ed257ea9d17570e7 (diff) | |
download | gitlab-ce-d78272a13b50e912b1ac946da8eec2e75bc6eb41.tar.gz |
Fix a frozen string error in app/mailers/notify.rb
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'app/mailers')
-rw-r--r-- | app/mailers/notify.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/mailers/notify.rb b/app/mailers/notify.rb index 662f3e00047..88ad4c3e893 100644 --- a/app/mailers/notify.rb +++ b/app/mailers/notify.rb @@ -166,7 +166,7 @@ class Notify < BaseMailer headers['In-Reply-To'] = message_id(model) headers['References'] = [message_id(model)] - headers[:subject]&.prepend('Re: ') + headers[:subject] = "Re: #{headers[:subject]}" if headers[:subject] mail_thread(model, headers) end |