aboutsummaryrefslogtreecommitdiffstats
path: root/routers/repo
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2016-08-15 01:42:20 -0700
committerUnknwon <u@gogs.io>2016-08-15 01:42:20 -0700
commit4a19fd64412dc111bac3c1b56cf3eb55728d2ba3 (patch)
tree57d03a9b2f6aab9b1f0f69a2926c0e8418e66be0 /routers/repo
parent54e0ada9d53c28543a436d266dc73e759cc7658b (diff)
downloadgitea-4a19fd64412dc111bac3c1b56cf3eb55728d2ba3.tar.gz
gitea-4a19fd64412dc111bac3c1b56cf3eb55728d2ba3.zip
Web editor: temporarily disable upload and quick fix for edit and new
Try to merge into develop branch ASAP, then continue minor fixes afterwards.
Diffstat (limited to 'routers/repo')
-rw-r--r--routers/repo/view.go1
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