diff options
Diffstat (limited to 'routers/web/user/code.go')
-rw-r--r-- | routers/web/user/code.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/routers/web/user/code.go b/routers/web/user/code.go index 81e3e65b4b..b3adbcb8d3 100644 --- a/routers/web/user/code.go +++ b/routers/web/user/code.go @@ -24,6 +24,7 @@ func CodeSearch(ctx *context.Context) { return } + ctx.Data["IsProjectEnabled"] = true ctx.Data["IsPackageEnabled"] = setting.Packages.Enabled ctx.Data["IsRepoIndexerEnabled"] = setting.Indexer.RepoIndexerEnabled ctx.Data["Title"] = ctx.Tr("explore.code") |