fix display bare repo

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

No files matched your search

+1
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