mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 20:00:49 +08:00
11 lines
255 B
Ruby
11 lines
255 B
Ruby
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
|
|
json.email_notify @course.email_notify
|
|
end
|