adds email verification

This commit is contained in:
rgarcia
2015-08-27 23:57:04 +02:00
parent 3fc8d830f1
commit 570f67195c
5 changed files with 77 additions and 0 deletions

View File

@@ -14,4 +14,11 @@ class Mailer < ApplicationMailer
mail(to: @recipient.email, subject: t('mailer.reply.subject'))
end
def email_verification(user, recipient, token)
@user = user
@recipient = recipient
@token = token
mail(to: @recipient, subject: "Verifica tu email")
end
end