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/board_list.json.jbuilder

10 lines
213 B

json.partial! 'commons/success'
json.data do
json.course_id @course.id
json.user_course_identity @current_user.course_identity(@course)
json.boards do
json.array! @boards, :id, :name
end
end