forked from saurabh/orbit4-5
11 lines
274 B
Ruby
11 lines
274 B
Ruby
|
class ResetPasswordMailer < ActionMailer::Base
|
||
|
default from: "noreply@rulingcom.com"
|
||
|
|
||
|
def reset_user_password(user)
|
||
|
email = user.email
|
||
|
@reset_token = user.reset_token
|
||
|
@user_id = user.id
|
||
|
mail(:to => email, :subject => "Reset Password Instructions")
|
||
|
end
|
||
|
end
|