实训版本库公开
This commit is contained in:
parent
63494a2487
commit
1eb0cf06e5
|
@ -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!
|
||||
|
|
Loading…
Reference in New Issue