summaryrefslogtreecommitdiffstats
path: root/cmd/web.go
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-11-16 11:16:52 -0500
committerUnknwon <u@gogs.io>2015-11-16 11:16:52 -0500
commit29ed7872f807db590d9127cf9f447fb0ac34b40c (patch)
treef8804f448a80dc74bd4a775398dd54e198beee65 /cmd/web.go
parent5dc3dd17049a5c097122c6159aa7a915658c263a (diff)
downloadgitea-29ed7872f807db590d9127cf9f447fb0ac34b40c.tar.gz
gitea-29ed7872f807db590d9127cf9f447fb0ac34b40c.zip
repo sidebar active class
Diffstat (limited to 'cmd/web.go')
-rw-r--r--cmd/web.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/web.go b/cmd/web.go
index dfe47021c7..cb14b7c946 100644
--- a/cmd/web.go
+++ b/cmd/web.go
@@ -463,6 +463,8 @@ func runWeb(ctx *cli.Context) {
m.Post("/delete", repo.DeleteDeployKey)
})
+ }, func(ctx *middleware.Context) {
+ ctx.Data["PageIsSettings"] = true
})
}, reqSignIn, middleware.RepoAssignment(true), reqRepoAdmin, middleware.RepoRef())