fixed attachment saving bug

This commit is contained in:
Mark Moser committed 2016-11-16 18:44:18 -06:00
1 parent 41f3d3aed1
commit 9d12b694ce
3 files changed
+14 -2

No files matched your search

+1 -1
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