Class: Workarea::Admin::ReportsMailer
- Inherits:
-
ApplicationMailer
- Object
- Workarea::ApplicationMailer
- ApplicationMailer
- Workarea::Admin::ReportsMailer
- Defined in:
- app/mailers/workarea/admin/reports_mailer.rb
Instance Method Summary collapse
Instance Method Details
#export(id) ⇒ Object
4 5 6 7 8 9 10 11 12 13 14 15 |
# File 'app/mailers/workarea/admin/reports_mailer.rb', line 4 def export(id) @export = Workarea::Reports::Export.find(id) mail( bcc: @export.emails, from: Workarea.config.email_from, subject: t( 'workarea.admin.reports_mailer.export.subject', name: @export.name.downcase ) ) end |