试卷创建时确定编辑器

dev_chen
cxt 5 years ago
parent 8938b299d5
commit 278cec416d

@ -136,7 +136,8 @@ class ExercisesController < ApplicationController
:user_id => current_user.id,
:course_id => @course.id,
:time => -1,
:exercise_status => 1
:exercise_status => 1,
:is_md => params[:md]
}
@exercise = Exercise.create!(exercise_options)
end

Loading…
Cancel
Save