summaryrefslogtreecommitdiffstats
path: root/cmd/web.go
diff options
context:
space:
mode:
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())