Browse Source

fix #2085

pull/2088/head
Unknwon 9 years ago
parent
commit
e350d74c8a
  1. 2
      modules/middleware/repo.go

2
modules/middleware/repo.go

@ -19,6 +19,8 @@ import (
func ApiRepoAssignment() macaron.Handler { func ApiRepoAssignment() macaron.Handler {
return func(ctx *Context) { return func(ctx *Context) {
ctx.Repo = &RepoContext{}
userName := ctx.Params(":username") userName := ctx.Params(":username")
repoName := ctx.Params(":reponame") repoName := ctx.Params(":reponame")

Loading…
Cancel
Save