Browse Source

fix #2085

tags/v1.2.0-rc1
Unknwon 9 years ago
parent
commit
0d1e014628
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      modules/middleware/repo.go

+ 2
- 0
modules/middleware/repo.go View File

@@ -19,6 +19,8 @@ import (

func ApiRepoAssignment() macaron.Handler {
return func(ctx *Context) {
ctx.Repo = &RepoContext{}

userName := ctx.Params(":username")
repoName := ctx.Params(":reponame")



Loading…
Cancel
Save