|
|
|
@ -1,7 +1,7 @@
|
|
|
|
|
json.exercise do
|
|
|
|
|
json.extract! @exercise, :id,:exercise_name, :exercise_status,:time,:publish_time,
|
|
|
|
|
:end_time,:score_open,:answer_open,:question_random,:choice_random,
|
|
|
|
|
:unified_setting,:show_statistic
|
|
|
|
|
:unified_setting,:show_statistic,:assistant_auth
|
|
|
|
|
json.course_id @course.id
|
|
|
|
|
json.published_count @exercise_publish_count
|
|
|
|
|
json.unpublish_count @exercise_unpublish_count
|
|
|
|
|