From 4275b3720a04ccbca99907e800a55ab9df9fdcf6 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Fri, 21 Aug 2015 00:18:30 +0800 Subject: finsih diff and compare --- routers/repo/commit.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'routers') diff --git a/routers/repo/commit.go b/routers/repo/commit.go index 5dbc4bbf8e..3dd1843c2a 100644 --- a/routers/repo/commit.go +++ b/routers/repo/commit.go @@ -189,7 +189,7 @@ func FileHistory(ctx *middleware.Context) { } func Diff(ctx *middleware.Context) { - ctx.Data["IsRepoToolbarCommits"] = true + ctx.Data["PageIsDiff"] = true userName := ctx.Repo.Owner.Name repoName := ctx.Repo.Repository.Name -- cgit v1.2.3