aboutsummaryrefslogtreecommitdiffstats
path: root/routers/repo/repo.go
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-11-08 14:31:49 -0500
committerUnknwon <u@gogs.io>2015-11-08 14:31:49 -0500
commitb55499d039c5e35130057b8af16401c558e79e79 (patch)
tree4f3fc503ac7f1bb4f63733f359ba450fd90f3f1b /routers/repo/repo.go
parent58436b5ea51cb5e09fb244331d7a9acf70258063 (diff)
downloadgitea-b55499d039c5e35130057b8af16401c558e79e79.tar.gz
gitea-b55499d039c5e35130057b8af16401c558e79e79.zip
go vet and fix #1890
Diffstat (limited to 'routers/repo/repo.go')
-rw-r--r--routers/repo/repo.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/routers/repo/repo.go b/routers/repo/repo.go
index a13526edf4..ab7b4b99e5 100644
--- a/routers/repo/repo.go
+++ b/routers/repo/repo.go
@@ -250,11 +250,6 @@ func Action(ctx *middleware.Context) {
redirectTo = ctx.Repo.RepoLink
}
ctx.Redirect(redirectTo)
-
- return
- ctx.JSON(200, map[string]interface{}{
- "ok": true,
- })
}
func Download(ctx *middleware.Context) {