From 61e2bff757516d26772c78259961d8fefeae4bdb Mon Sep 17 00:00:00 2001 From: Unknwon Date: Sat, 11 Mar 2017 02:13:42 -0500 Subject: repo: commits, branches and releases should highlight files tab --- routers/repo/commit.go | 1 + 1 file changed, 1 insertion(+) (limited to 'routers/repo/commit.go') 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) -- cgit v1.2.3