diff options
author | Wei-Meng Lee <1081658-weimeng@users.noreply.gitlab.com> | 2019-05-31 13:31:28 +0300 |
---|---|---|
committer | Wei-Meng Lee <wlee@gitlab.com> | 2019-05-31 15:49:27 +0300 |
commit | ddb0344a8ff43555061a0775875ea38cbebf7c52 (patch) | |
tree | 1afc8761c470b000f85c696a012cdff4ee318e3a /app | |
parent | ddd6f804576e1e9d69db85242a8dbc687cdb35db (diff) |
Apply reviewer suggestions
Diffstat (limited to 'app')
-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 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 |