mirror of
https://github.com/internetee/registry.git
synced 2025-06-08 13:44:47 +02:00
Add mailer preview
This commit is contained in:
parent
ee6686cb03
commit
1d17c935ac
1 changed files with 7 additions and 0 deletions
|
@ -12,4 +12,11 @@ class DomainDeleteMailerPreview < ActionMailer::Preview
|
||||||
end
|
end
|
||||||
|
|
||||||
define_forced_templates
|
define_forced_templates
|
||||||
|
|
||||||
|
def confirmation
|
||||||
|
domain = Domain.first
|
||||||
|
DomainDeleteMailer.confirmation(domain: domain,
|
||||||
|
registrar: domain.registrar,
|
||||||
|
registrant: domain.registrant)
|
||||||
|
end
|
||||||
end
|
end
|
Loading…
Add table
Add a link
Reference in a new issue