新建课程时创建的班级设为私有

This commit is contained in:
yuanke 2016-07-06 16:23:12 +08:00
parent 796c5d5666
commit 9eee510649
1 changed files with 1 additions and 0 deletions

View File

@ -49,6 +49,7 @@ class SyllabusesService
c.tea_id = user.id
c.syllabus_id = sy.id
c.update_default_value
c.is_public = 0
c.save!
after_create_course(c, user)
end