fixed attachment saving bug

This commit is contained in:
Mark Moser
2016-11-16 18:44:18 -06:00
parent 41f3d3aed1
commit 9d12b694ce
3 changed files with 14 additions and 2 deletions

View File

@ -62,7 +62,7 @@ module Admin
def question_params
params.require(:question).permit(
:quiz_id, :question, :category, :input_type, :sort, :active, :input_options,
:quiz_id, :question, :category, :attachment, :input_type, :sort, :active, :input_options,
multi_choice: [], live_code: [:later, :html, :css, :js, :text]
)
end