mirror of
https://github.com/internetee/registry.git
synced 2025-05-18 02:09:39 +02:00
Story#109317508 commented sending email to registrant em email change
This commit is contained in:
parent
ddd83756d7
commit
a6100298f0
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ class Contact < ActiveRecord::Base
|
||||||
return nil unless deliver_emails == true
|
return nil unless deliver_emails == true
|
||||||
emails = []
|
emails = []
|
||||||
emails << [email, email_was]
|
emails << [email, email_was]
|
||||||
emails << domains.map(&:registrant_email) if domains.present?
|
# emails << domains.map(&:registrant_email) if domains.present?
|
||||||
emails = emails.flatten.uniq
|
emails = emails.flatten.uniq
|
||||||
emails.each do |e|
|
emails.each do |e|
|
||||||
ContactMailer.email_updated(email_was, e, id, deliver_emails).deliver
|
ContactMailer.email_updated(email_was, e, id, deliver_emails).deliver
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue