mirror of
https://github.com/internetee/registry.git
synced 2025-06-08 05:34:46 +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
|
||||
|
||||
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