|
|
|
@ -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
|
|
|
|
|