You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
423 B
16 lines
423 B
2 years ago
|
class DataProtectionConfirmationMailer < NotifyMailer
|
||
|
include Rails.application.routes.url_helpers
|
||
|
EMAIL_TEMPLATE_ID = "3dbf78fe-a2c8-4d65-aa19-e4d62695d4a9".freeze
|
||
|
|
||
|
def send_confirmation_email(user)
|
||
|
send_email(
|
||
|
user.email,
|
||
|
EMAIL_TEMPLATE_ID,
|
||
|
{
|
||
|
organisation_name: user.organisation.name,
|
||
|
link: data_sharing_agreement_organisation_url(user.organisation),
|
||
|
},
|
||
|
)
|
||
|
end
|
||
|
end
|