diff options
Diffstat (limited to 'routers/repo')
-rw-r--r-- | routers/repo/view.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/routers/repo/view.go b/routers/repo/view.go index 7fe7984c58..c7e0003a35 100644 --- a/routers/repo/view.go +++ b/routers/repo/view.go @@ -41,7 +41,6 @@ func Home(ctx *context.Context) { ctx.Data["Title"] = title ctx.Data["PageIsViewCode"] = true ctx.Data["RequireHighlightJS"] = true - ctx.Data["IsWriter"] = ctx.Repo.IsWriter() branchName := ctx.Repo.BranchName userName := ctx.Repo.Owner.Name |