mirror of
https://github.com/internetee/registry.git
synced 2025-06-10 14:44:47 +02:00
8 lines
270 B
Ruby
8 lines
270 B
Ruby
class ContactMailerPreview < ActionMailer::Preview
|
|
def email_changed
|
|
contact = Contact.linked
|
|
contact = contact.where.not(email: nil, country_code: nil, code: nil).first
|
|
|
|
ContactMailer.email_changed(contact: contact, old_email: 'old@inbox.test')
|
|
end
|
|
end
|