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/ecs/ec_years/create.json.jbuilder

10 lines
407 B

json.extract! @ec_year, :id, :year
json.student_count @ec_year.ec_year_students.count
json.training_subitem_count @ec_year.ec_training_subitems.count
json.graduation_requirement_count @ec_year.ec_graduation_requirements.count
json.course_count @ec_year.ec_courses.count
json.course_target_count @ec_year.ec_course_targets.count
json.graduation_subitem_count @ec_year.ec_graduation_subitems.count