notify manager email

This commit is contained in:
Mark Moser committed 2017-02-09 15:38:38 -06:00
1 parent 117b795a0c
commit 8256343851
4 files changed
+27

No files matched your search

+7
View File
@@ -12,4 +12,11 @@ class ReviewerMailer < ApplicationMailer
mail to: reminder.email, subject: "Review Reminder"
end
def notify_manager candidate_id
@candidate = Candidate.find_by(id: candidate_id)
@manager = @candidate.manager
mail to: @manager.email, subject: "Voting Complete"
end
end