1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

fix display bare repo

This commit is contained in:
slene
2014-03-30 13:30:17 +08:00
parent e2f63d81d3
commit d6c9e3413a
5 changed files with 72 additions and 53 deletions

View File

@@ -78,6 +78,7 @@ func Single(ctx *middleware.Context, params martini.Params) {
ctx.Handle(404, "repo.Single(GetBranches)", err)
return
}
ctx.Data["Branches"] = brs
isViewBranch := ctx.Repo.IsBranch