2016-09-08 10:25:33 -05:00
|
|
|
# frozen_string_literal: true
|
2016-08-24 16:26:07 -05:00
|
|
|
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 Acount"
|
|
|
|
end
|
|
|
|
end
|