index
:
gogs.git
Gogs is a painless self-hosted Git service
log msg
author
committer
range
buildscript
main
mygogs
about
summary
refs
log
tree
commit
diff
path:
root
/
routers
/
repo
/
single.go
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
(limited to 'routers/repo/single.go')
-rw-r--r--
routers/repo/single.go
1
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