Add more attributes to candidate - completes: #100

This commit is contained in:
Mark Moser
2017-02-27 11:11:28 -06:00
parent 7f8e74c6b3
commit 4ba35ccf33
8 changed files with 55 additions and 2 deletions

View File

@ -57,7 +57,9 @@ module Admin
private
def candidate_params
params.require(:candidate).permit(:name, :email, :experience, :quiz_id, :project)
params.require(:candidate).permit(
:name, :email, :experience, :quiz_id, :project, :position, :skill_needs
)
end
def collect_quizzes