From eb8c45a87a21c57cea6332d470c448600da1db3f Mon Sep 17 00:00:00 2001 From: f Date: Fri, 15 Nov 2019 13:07:16 -0300 Subject: [PATCH] enviar correos de invitacion --- app/views/devise/mailer/invitation_instructions.haml | 2 +- app/views/devise/mailer/invitation_instructions.text.haml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/devise/mailer/invitation_instructions.haml b/app/views/devise/mailer/invitation_instructions.haml index dc939ae7..74193878 100644 --- a/app/views/devise/mailer/invitation_instructions.haml +++ b/app/views/devise/mailer/invitation_instructions.haml @@ -1,4 +1,4 @@ -- site = @resources.sites.last +- site = @resource.sites.last %p= t('devise.mailer.invitation_instructions.hello', email: @resource.email) diff --git a/app/views/devise/mailer/invitation_instructions.text.haml b/app/views/devise/mailer/invitation_instructions.text.haml index 9735863a..16a9f0a8 100644 --- a/app/views/devise/mailer/invitation_instructions.text.haml +++ b/app/views/devise/mailer/invitation_instructions.text.haml @@ -1,4 +1,4 @@ -- site = @resources.sites.last +- site = @resource.sites.last = t('devise.mailer.invitation_instructions.hello', email: @resource.email) \