|
|
|
@ -24,6 +24,4 @@ json.course_identity @user_course_identity
|
|
|
|
|
json.excellent @course.excellent
|
|
|
|
|
if @course.is_end == 0
|
|
|
|
|
json.days_remaining (@course.end_date.to_date - Time.now.to_date).to_i
|
|
|
|
|
end
|
|
|
|
|
json.first_category_url module_url(@course.none_hidden_course_modules.first, @course)
|
|
|
|
|
|
|
|
|
|
end
|