Browse Source

Bug fix

tags/v0.9.99
Unknown 10 years ago
parent
commit
f8e370f8ca
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      modules/middleware/repo.go

+ 1
- 1
modules/middleware/repo.go View File

@@ -160,7 +160,7 @@ func RepoAssignment(redirect bool, args ...bool) martini.Handler {
}

ctx.Data["BranchName"] = ctx.Repo.BranchName
ctx.Data["Branches"], _ = models.GetBranches(ctx.User.Name, ctx.Repo.Repository.Name)
ctx.Data["Branches"], _ = models.GetBranches(user.Name, repoName)
ctx.Data["CommitId"] = ctx.Repo.CommitId
ctx.Data["IsRepositoryWatching"] = ctx.Repo.IsWatching
}

Loading…
Cancel
Save