aboutsummaryrefslogtreecommitdiff
path: root/routers/repo/single.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/repo/single.go')
1 files changed, 1 insertions, 0 deletions
diff --git a/routers/repo/single.go b/routers/repo/single.go
index 6be55f08..e403d70e 100644
--- a/routers/repo/single.go
+++ b/routers/repo/single.go
@@ -30,6 +30,7 @@ func Branches(ctx *middleware.Context, params martini.Params) {
return
}
+ ctx.Data["Branchname"] = brs[0]
ctx.Data["Branches"] = brs
ctx.Data["IsRepoToolbarBranches"] = true