Browse Source

提交代码

pull/1425/head
ychao_1983 3 years ago
parent
commit
6f8ad46c12
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      routers/repo/course.go

+ 2
- 1
routers/repo/course.go View File

@@ -19,8 +19,9 @@ const (

func CreateCourse(ctx *context.Context) {
ctx.Data["Title"] = ctx.Tr("new_course")
org, _ := models.GetUserByName(setting.Course.OrgName)

ctx.Data["Owner"] = setting.Course.OrgName
ctx.Data["Owner"] = org

ctx.HTML(200, tplCreateCourse)



Loading…
Cancel
Save