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/course_group_list.json.jbui...

7 lines
216 B

6 years ago
json.course_groups do
json.array! @all_course_groups do |course_group|
json.id course_group.id
json.name course_group.name
json.checked @existed_course_group_ids.include? course_group.id
end
end