summaryrefslogtreecommitdiffstats
path: root/web.go
diff options
context:
space:
mode:
authorslene <vslene@gmail.com>2014-04-16 00:27:29 +0800
committerslene <vslene@gmail.com>2014-04-16 00:29:03 +0800
commit4fafc7605245ef175a8fb8558eb7c30c4f7b0400 (patch)
tree4479b8792564c088931fd025ce45d31746bf064e /web.go
parent5378bb326b14192cbbc1309c3142cfc49c74a882 (diff)
downloadgitea-4fafc7605245ef175a8fb8558eb7c30c4f7b0400.tar.gz
gitea-4fafc7605245ef175a8fb8558eb7c30c4f7b0400.zip
zip archive download
Diffstat (limited to 'web.go')
-rw-r--r--web.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/web.go b/web.go
index 04c41b9d29..ed61063b1e 100644
--- a/web.go
+++ b/web.go
@@ -176,6 +176,7 @@ func runWeb(*cli.Context) {
r.Get("/commit/:branchname", repo.Diff)
r.Get("/commit/:branchname/**", repo.Diff)
r.Get("/releases", repo.Releases)
+ r.Get("/archive/:branchname/:reponame.zip", repo.ZipDownload)
}, ignSignIn, middleware.RepoAssignment(true, true))
m.Group("/:username", func(r martini.Router) {