summaryrefslogtreecommitdiff
path: root/app/mailers
diff options
context:
space:
mode:
authorWei-Meng Lee <1081658-weimeng@users.noreply.gitlab.com>2019-05-31 10:31:28 +0000
committerWei-Meng Lee <wlee@gitlab.com>2019-05-31 20:49:27 +0800
commitddb0344a8ff43555061a0775875ea38cbebf7c52 (patch)
tree1afc8761c470b000f85c696a012cdff4ee318e3a /app/mailers
parentddd6f804576e1e9d69db85242a8dbc687cdb35db (diff)
downloadgitlab-ce-ddb0344a8ff43555061a0775875ea38cbebf7c52.tar.gz
Apply reviewer suggestionsweimeng-email-routing
Diffstat (limited to 'app/mailers')
-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 cc27ba0c5cc..576caea4c10 100644
--- a/app/mailers/notify.rb
+++ b/app/mailers/notify.rb
@@ -88,7 +88,7 @@ class Notify < BaseMailer
# Return group-specific email address if present, otherwise return global
# email address
- group_notification_email.presence || @current_user.notification_email
+ group_notification_email || @current_user.notification_email
end
# Formats arguments into a String suitable for use as an email subject