mirror of
https://github.com/internetee/registry.git
synced 2025-08-05 09:21:43 +02:00
Merge pull request #1156 from internetee/refactor-domain-delete-mailer
Refactor domain delete mailer
This commit is contained in:
commit
7e0fd30125
7 changed files with 34 additions and 27 deletions
|
@ -12,4 +12,11 @@ class DomainDeleteMailerPreview < ActionMailer::Preview
|
|||
end
|
||||
|
||||
define_forced_templates
|
||||
|
||||
def confirmation
|
||||
domain = Domain.first
|
||||
DomainDeleteMailer.confirmation(domain: domain,
|
||||
registrar: domain.registrar,
|
||||
registrant: domain.registrant)
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue