mirror of
https://github.com/internetee/registry.git
synced 2025-08-03 00:12:03 +02:00
Story#107821878 - ContactsMailer#email_updated gets new attribute old_email
This commit is contained in:
parent
4fa286d0b0
commit
7b02f98af8
4 changed files with 9 additions and 7 deletions
|
@ -50,7 +50,7 @@ class Contact < ActiveRecord::Base
|
|||
emails << domains.map(&:registrant_email) if domains.present?
|
||||
emails = emails.flatten.uniq
|
||||
emails.each do |e|
|
||||
ContactMailer.email_updated(e, id, deliver_emails).deliver
|
||||
ContactMailer.email_updated(email_was, e, id, deliver_emails).deliver
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue