Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWei-Meng Lee <1081658-weimeng@users.noreply.gitlab.com>2019-05-31 13:31:28 +0300
committerWei-Meng Lee <wlee@gitlab.com>2019-05-31 15:49:27 +0300
commitddb0344a8ff43555061a0775875ea38cbebf7c52 (patch)
tree1afc8761c470b000f85c696a012cdff4ee318e3a /app/mailers/notify.rb
parentddd6f804576e1e9d69db85242a8dbc687cdb35db (diff)
Apply reviewer suggestions
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 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