aboutsummaryrefslogtreecommitdiff
path: root/routers/repo/commit.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/repo/commit.go')
-rw-r--r--routers/repo/commit.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/repo/commit.go b/routers/repo/commit.go
index a2752fdd..409cee85 100644
--- a/routers/repo/commit.go
+++ b/routers/repo/commit.go
@@ -22,7 +22,7 @@ const (
)
func RefCommits(ctx *context.Context) {
- ctx.Data["PageIsViewCode"] = true
+ ctx.Data["PageIsViewFiles"] = true
switch {
case len(ctx.Repo.TreePath) == 0:
Commits(ctx)