实训版本库公开

This commit is contained in:
huang 2017-03-23 16:44:14 +08:00
parent 63494a2487
commit 1eb0cf06e5
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ module Trustie
snippets_enabled: false,
public: false,
user_id: gid,
visibility_level: shixun.is_public? ? UserLevel::PUBLIC : UserLevel::PRIVATE
visibility_level: UserLevel::PUBLIC
)
shixun.gpid = gshixun.id
shixun.save!