14 lines
325 B
Ruby
14 lines
325 B
Ruby
# frozen_string_literal: true
|
|
class UserMailer < ApplicationMailer
|
|
def password_reset user
|
|
@user = user
|
|
mail to: user.email, subject: 'Password Reset'
|
|
end
|
|
|
|
def welcome user, default_password
|
|
@user = user
|
|
@password = default_password
|
|
mail to: user.email, subject: "Skill Assesment Account"
|
|
end
|
|
end
|