Browse Source

提交代码

tags/v1.22.1.3^2
ychao_1983 3 years ago
parent
commit
22a1f79705
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      modules/context/repo.go

+ 1
- 0
modules/context/repo.go View File

@@ -402,6 +402,7 @@ func RepoAssignment() macaron.Handler {
}
ctx.Repo.Owner = owner
ctx.Data["Username"] = ctx.Repo.Owner.Name
ctx.Data["IsCourse"] = owner.Name == setting.Course.OrgName

// Get repository.
repo, err := models.GetRepositoryByName(owner.ID, repoName)


Loading…
Cancel
Save