This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
AI开发
Register
Sign In
Gitlink
/
forgeplus
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
16
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
修改后端的bug
tags/v1
sylor_huang@126.com
6 years ago
parent
0bf4d5e4be
commit
6deb1a9488
1 changed files
with
5 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+5
-1
app/services/projects/create_service.rb
+ 5
- 1
app/services/projects/create_service.rb
View File
@@ -39,7 +39,7 @@ class Projects::CreateService < ApplicationService
def repository_params
{
hidden:
get
_is_public,
hidden:
repo
_is_public,
user_id: params[:user_id],
identifier: params[:repository_name]
}
@@ -48,4 +48,8 @@ class Projects::CreateService < ApplicationService
def get_is_public
params[:private] || true
end
def repo_is_public
!get_is_public
end
end
Write
Preview
Loading…
Cancel
Save