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.
14 lines
317 B
14 lines
317 B
6 years ago
|
json.partial! "commons/success"
|
||
|
|
||
|
|
||
|
if @course_groups.size >0
|
||
|
json.on_commiting @course_groups.size #未发布的分班
|
||
|
json.course_info do
|
||
|
json.array! @course_groups do |group|
|
||
|
json.course_group_id group.id
|
||
|
json.course_group_name group.name
|
||
|
end
|
||
|
end
|
||
|
else
|
||
|
json.on_commiting 0
|
||
|
end
|