summaryrefslogtreecommitdiffstats
path: root/routers
diff options
context:
space:
mode:
Diffstat (limited to 'routers')
-rw-r--r--routers/repo/commit.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/routers/repo/commit.go b/routers/repo/commit.go
index cb9727fccc..2e6cd76bb3 100644
--- a/routers/repo/commit.go
+++ b/routers/repo/commit.go
@@ -206,6 +206,8 @@ func FileHistory(ctx *context.Context) {
func Diff(ctx *context.Context) {
ctx.Data["PageIsDiff"] = true
ctx.Data["RequireHighlightJS"] = true
+ ctx.Data["RequireSimpleMDE"] = true
+ ctx.Data["RequireTribute"] = true
userName := ctx.Repo.Owner.Name
repoName := ctx.Repo.Repository.Name