d5a469d736
completes #25
13 lines
294 B
Ruby
13 lines
294 B
Ruby
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
|