diff options
author | Unknwon <u@gogs.io> | 2015-11-16 11:16:52 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-11-16 11:16:52 -0500 |
commit | 29ed7872f807db590d9127cf9f447fb0ac34b40c (patch) | |
tree | f8804f448a80dc74bd4a775398dd54e198beee65 /cmd/web.go | |
parent | 5dc3dd17049a5c097122c6159aa7a915658c263a (diff) | |
download | gitea-29ed7872f807db590d9127cf9f447fb0ac34b40c.tar.gz gitea-29ed7872f807db590d9127cf9f447fb0ac34b40c.zip |
repo sidebar active class
Diffstat (limited to 'cmd/web.go')
-rw-r--r-- | cmd/web.go | 2 |
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()) |