fixed attachment saving bug
This commit is contained in:
@ -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