From 9eee510649662181777d70e567ea03fc73559f76 Mon Sep 17 00:00:00 2001 From: yuanke <249218296@qq.com> Date: Wed, 6 Jul 2016 16:23:12 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=BB=BA=E8=AF=BE=E7=A8=8B=E6=97=B6?= =?UTF-8?q?=E5=88=9B=E5=BB=BA=E7=9A=84=E7=8F=AD=E7=BA=A7=E8=AE=BE=E4=B8=BA?= =?UTF-8?q?=E7=A7=81=E6=9C=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/services/syllabuses_service.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/services/syllabuses_service.rb b/app/services/syllabuses_service.rb index 13c321ae7..530c550ed 100644 --- a/app/services/syllabuses_service.rb +++ b/app/services/syllabuses_service.rb @@ -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