104
105
106
107
108
109
110
111
112
113
114
|
# File 'app/mailers/effective/cpd_mailer.rb', line 104
def cpd_audit_extension_granted(resource, opts = {})
raise('expected an EffectiveCpd.CpdAudit') unless resource.kind_of?(EffectiveCpd.CpdAudit)
@assigns = assigns_for(resource).merge(url: effective_cpd.cpd_audit_url(resource))
@cpd_audit = resource
subject = subject_for(__method__, 'CPD Audit Extension Granted', resource, opts)
= (resource, opts)
mail(to: resource.user.email, subject: subject, **)
end
|