mirror of
https://github.com/internetee/registry.git
synced 2025-06-09 22:24:47 +02:00
- Remove `Que::Mailer` (#895) - Extract controllers - Extract translations - Convert HAML to ERB - Add mailer preview - Improve UI - Remove unused routes - Add tests
6 lines
No EOL
195 B
Ruby
6 lines
No EOL
195 B
Ruby
class InvoiceMailerPreview < ActionMailer::Preview
|
|
def invoice_email
|
|
invoice = Invoice.first
|
|
InvoiceMailer.invoice_email(invoice: invoice, recipient: 'billing@registrar.test')
|
|
end
|
|
end |