diff options
author | slene <vslene@gmail.com> | 2014-03-30 13:30:17 +0800 |
---|---|---|
committer | slene <vslene@gmail.com> | 2014-03-30 13:30:17 +0800 |
commit | d6c9e3413a982fd64a74e774d4a2b8157f39f299 (patch) | |
tree | 60ec4e94acdb6925c612deb49871f57c75b64584 /routers | |
parent | e2f63d81d3528c191e85fe228a37b5f0d58a405f (diff) |
fix display bare repo
Diffstat (limited to 'routers')
-rw-r--r-- | routers/repo/repo.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/routers/repo/repo.go b/routers/repo/repo.go index 27c806a3..5b0a165d 100644 --- a/routers/repo/repo.go +++ b/routers/repo/repo.go @@ -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 |