diff options
Diffstat (limited to 'routers/repo/commit.go')
-rw-r--r-- | routers/repo/commit.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/routers/repo/commit.go b/routers/repo/commit.go index 9656d5cc..0153ccfe 100644 --- a/routers/repo/commit.go +++ b/routers/repo/commit.go @@ -22,6 +22,7 @@ const ( ) func RefCommits(ctx *context.Context) { + ctx.Data["PageIsViewCode"] = true switch { case len(ctx.Repo.TreePath) == 0: Commits(ctx) |