diff options
author | Unknwon <u@gogs.io> | 2016-08-15 01:42:20 -0700 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2016-08-15 01:42:20 -0700 |
commit | 4a19fd64412dc111bac3c1b56cf3eb55728d2ba3 (patch) | |
tree | 57d03a9b2f6aab9b1f0f69a2926c0e8418e66be0 /routers/repo | |
parent | 54e0ada9d53c28543a436d266dc73e759cc7658b (diff) | |
download | gitea-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.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 |