repo sidebar active class

This commit is contained in:
Unknwon committed 2015-11-16 11:16:52 -05:00
1 parent 5dc3dd1704
commit 29ed7872f8
3 files changed
+10 -3

No files matched your search

+2
View File
@@ -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())