1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-08-25 21:44:20 -04:00
This commit is contained in:
Unknown 2014-04-10 23:49:53 -04:00
parent ed546912e5
commit f8e370f8ca

View File

@ -160,7 +160,7 @@ func RepoAssignment(redirect bool, args ...bool) martini.Handler {
} }
ctx.Data["BranchName"] = ctx.Repo.BranchName 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["CommitId"] = ctx.Repo.CommitId
ctx.Data["IsRepositoryWatching"] = ctx.Repo.IsWatching ctx.Data["IsRepositoryWatching"] = ctx.Repo.IsWatching
} }