summaryrefslogtreecommitdiffstats
path: root/routers/repo
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-08-21 00:18:30 +0800
committerUnknwon <u@gogs.io>2015-08-21 00:18:30 +0800
commit4275b3720a04ccbca99907e800a55ab9df9fdcf6 (patch)
tree34e79fcd8e4ca061dd3e6a36a21ab7533f37659a /routers/repo
parentaa65761d81d3f33bdfee578c14bb2b0c7a6ca639 (diff)
downloadgitea-4275b3720a04ccbca99907e800a55ab9df9fdcf6.tar.gz
gitea-4275b3720a04ccbca99907e800a55ab9df9fdcf6.zip
finsih diff and compare
Diffstat (limited to 'routers/repo')
-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 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