2024-04-14 19:01:32 +00:00
|
|
|
class UserMailer < ApplicationMailer
|
|
|
|
helper(:mailer)
|
|
|
|
|
|
|
|
def email_verification
|
|
|
|
@user = params[:user]
|
|
|
|
@token = params[:token]
|
|
|
|
|
2024-05-26 08:06:27 +00:00
|
|
|
mail(to: @user.email, subject: "[Tabletop Companion] Verify your email")
|
2024-04-14 19:01:32 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
def email_verified
|
|
|
|
@user = params[:user]
|
|
|
|
|
2024-05-26 08:06:27 +00:00
|
|
|
mail(to: @user.email, subject: "[Tabletop Companion] Your email has been verified")
|
2024-04-14 19:01:32 +00:00
|
|
|
end
|
|
|
|
end
|