Merge pull request #1228 from Ana06/fix_multichoice
Fix multiple choice questions
This commit is contained in:
commit
c4938166f5
1 changed files with 1 additions and 1 deletions
|
|
@ -95,7 +95,7 @@ module Admin
|
|||
private
|
||||
|
||||
def question_params
|
||||
params.require(:question).permit(:title, :global, :answers_attributes, :answer_ids, :question_type_id, :conference_id)
|
||||
params.require(:question).permit(:title, :global, :answer_ids, :question_type_id, :conference_id, answers_attributes: [:id, :title])
|
||||
end
|
||||
|
||||
def conference_params
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue