recruiter Resend welcome email
This commit is contained in:
1 parent
9884748cf9
commit
372e86507e
9 files changed
+70
-6
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user