removed hard coded emails for reviewer submission
This commit is contained in:
1 parent
3f77a00870
commit
3bd9d3364c
2 files changed
+7
-1
No files matched your search
@@ -8,10 +8,12 @@ class RecruiterController < ApplicationController
|
||||
|
||||
def new
|
||||
@candidate = Candidate.new
|
||||
@quizzes = Quiz.order(:name)
|
||||
render :form
|
||||
end
|
||||
|
||||
def create
|
||||
@quizzes = Quiz.order(:name)
|
||||
@candidate = Candidate.create(candidate_params.merge(recruiter_id: current_recruiter.id))
|
||||
|
||||
if @candidate.persisted?
|
||||
|
||||
Reference in new issue
Block a user