This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
Repositories
Datasets
Forum
实训
竞赛
大数据
应用
Register
Sign In
OpenI
/
aiforge
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
128
Wiki
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
提交代码
pull/1425/head
ychao_1983
3 years ago
parent
9dc5397a41
commit
b8ace56610
1 changed files
with
4 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-0
routers/repo/course.go
+ 4
- 0
routers/repo/course.go
View File
@@ -34,6 +34,10 @@ func CreateCoursePost(ctx *context.Context, form auth.CreateCourseForm) {
return
}
org, _ := models.GetUserByName(setting.Course.OrgName)
ctx.Data["Owner"] = org
var topics = make([]string, 0)
var topicsStr = strings.TrimSpace(form.Topics)
if len(topicsStr) > 0 {
Write
Preview
Loading…
Cancel
Save