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
change some bug
tags/v1
sylor_huang@126.com
6 years ago
parent
dae013d386
commit
7e99c0fc88
2 changed files
with
1 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+0
-1
app/controllers/application_controller.rb
+1
-1
app/controllers/repositories_controller.rb
+ 0
- 1
app/controllers/application_controller.rb
View File
@@ -386,7 +386,6 @@ class ApplicationController < ActionController::Base
else
User.current
end
# User.current
end
## 默认输出json
+ 1
- 1
app/controllers/repositories_controller.rb
View File
@@ -97,7 +97,7 @@ class RepositoriesController < ApplicationController
end
def sync_mirror
return render_error("正在镜像中..") if @repo.mirror.wa
rn
ing?
return render_error("正在镜像中..") if @repo.mirror.wa
it
ing?
@repo.sync_mirror!
SyncMirroredRepositoryJob.perform_later(@repo.id, current_user.id)
Write
Preview
Loading…
Cancel
Save