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
FIX code bug
tags/v1.0.0
Jasder
5 years ago
parent
7f9674baf3
commit
fc6a05fe12
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
app/controllers/ci/projects_controller.rb
+ 1
- 1
app/controllers/ci/projects_controller.rb
View File
@@ -63,7 +63,7 @@ class Ci::ProjectsController < Ci::BaseController
end
def deactivate
return render_error('
已经是激活状态') if
@repo.repo_active?
return render_error('
该项目已经取消激活') if !
@repo.repo_active?
@project.update_column(open_devops: false)
@repo.deactivate!
Write
Preview
Loading…
Cancel
Save