You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
educoder/app/views/courses/settings.json.jbuilder

12 lines
507 B

6 years ago
json.course_list_id @course.course_list.id
json.course_list_name @course.course_list.name
json.name @course.name
json.course_id @course.id
json.school @course.school&.name
json.class_period @course.class_period
json.credit @course.credit
json.end_date @course.end_date
json.is_public @course.is_public
json.course_module_types @course.course_modules.where(hidden: 0).pluck(:module_type)
json.authentication @course.authentication
json.professional_certification @course.professional_certification