sends emails to all reviewers on new comment
This commit is contained in:
1 parent
a8c42af3de
commit
2424fa021f
8 files changed
+60
-1
No files matched your search
@@ -19,4 +19,11 @@ class ReviewerMailer < ApplicationMailer
|
||||
|
||||
mail to: @manager.email, subject: "Voting Complete"
|
||||
end
|
||||
|
||||
def new_comment comment
|
||||
@comment = comment
|
||||
recipients = comment.candidate.reviewers.map(&:email)
|
||||
|
||||
mail to: recipients, subject: "Skills Assessment Review Comment - #{@comment.test_hash}"
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user