recruiter Resend welcome email
This commit is contained in:
@ -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