fixed attachment saving bug
This commit is contained in:
1 parent
41f3d3aed1
commit
9d12b694ce
3 files changed
+14
-2
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user