fix display bare repo
This commit is contained in:
parent
e2f63d81d3
commit
d6c9e3413a
5 changed files with 72 additions and 53 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue