diff options
Diffstat (limited to 'app/mailers/emails/pages_domains.rb')
-rw-r--r-- | app/mailers/emails/pages_domains.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/mailers/emails/pages_domains.rb b/app/mailers/emails/pages_domains.rb index 2d390666f65..1caca6b3e44 100644 --- a/app/mailers/emails/pages_domains.rb +++ b/app/mailers/emails/pages_domains.rb @@ -7,7 +7,7 @@ module Emails @project = domain.project mail( - to: recipient(recipient.id, @project.group), + to: recipient.notification_email_for(@project.group), subject: subject("GitLab Pages domain '#{domain.domain}' has been enabled") ) end @@ -17,7 +17,7 @@ module Emails @project = domain.project mail( - to: recipient(recipient.id, @project.group), + to: recipient.notification_email_for(@project.group), subject: subject("GitLab Pages domain '#{domain.domain}' has been disabled") ) end @@ -27,7 +27,7 @@ module Emails @project = domain.project mail( - to: recipient(recipient.id, @project.group), + to: recipient.notification_email_for(@project.group), subject: subject("Verification succeeded for GitLab Pages domain '#{domain.domain}'") ) end @@ -37,7 +37,7 @@ module Emails @project = domain.project mail( - to: recipient(recipient.id, @project.group), + to: recipient.notification_email_for(@project.group), subject: subject("ACTION REQUIRED: Verification failed for GitLab Pages domain '#{domain.domain}'") ) end |