summaryrefslogtreecommitdiff
path: root/app/mailers/notify.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-03-24 18:28:10 -0700
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-03-24 18:28:10 -0700
commit6ec8ff069ceaa7bb914cbbd97ac248d926ef7e4e (patch)
treece712ef1a4bfa347f0728654eb97c2d2f7146f86 /app/mailers/notify.rb
parentb9372c999707558b695fa401b4f660a3d38fce86 (diff)
downloadgitlab-ce-6ec8ff069ceaa7bb914cbbd97ac248d926ef7e4e.tar.gz
Enable more rubocop style checks
Diffstat (limited to 'app/mailers/notify.rb')
-rw-r--r--app/mailers/notify.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/mailers/notify.rb b/app/mailers/notify.rb
index ee27879cf40..8fcdd3bc853 100644
--- a/app/mailers/notify.rb
+++ b/app/mailers/notify.rb
@@ -148,7 +148,7 @@ class Notify < ActionMailer::Base
headers['References'] = message_id(model)
headers['X-GitLab-Project'] = "#{@project.name} | " if @project
- if (headers[:subject])
+ if headers[:subject]
headers[:subject].prepend('Re: ')
end