recruiter Resend welcome email

This commit is contained in:
Mark Moser committed 2016-09-15 10:01:31 -05:00
1 parent 9884748cf9
commit 372e86507e
9 files changed
+70 -6

No files matched your search

+6
View File
@@ -45,6 +45,12 @@ class RecruiterController < ApplicationController
redirect_to recruiter_login_path
end
def resend_welcome
candidate = Candidate.find_by(id: params[:id])
CandidateMailer.welcome(candidate).deliver_later
render json: { message: "Email queued!" }.to_json
end
private
def candidate_params