Class: MinimalistAuthenticationMailer

Inherits:
ApplicationMailer show all
Defined in:
app/mailers/minimalist_authentication_mailer.rb

Instance Method Summary collapse

Instance Method Details

#update_passwordObject



11
12
13
# File 'app/mailers/minimalist_authentication_mailer.rb', line 11

def update_password
  @edit_password_url = edit_password_url(token: @user.generate_token_for(:password_reset))
end

#verify_emailObject



7
8
9
# File 'app/mailers/minimalist_authentication_mailer.rb', line 7

def verify_email
  @verify_email_url = email_verification_url(token: @user.generate_token_for(:email_verification))
end