diff options
author | slene <vslene@gmail.com> | 2014-04-16 00:27:29 +0800 |
---|---|---|
committer | slene <vslene@gmail.com> | 2014-04-16 00:29:03 +0800 |
commit | 4fafc7605245ef175a8fb8558eb7c30c4f7b0400 (patch) | |
tree | 4479b8792564c088931fd025ce45d31746bf064e /web.go | |
parent | 5378bb326b14192cbbc1309c3142cfc49c74a882 (diff) | |
download | gitea-4fafc7605245ef175a8fb8558eb7c30c4f7b0400.tar.gz gitea-4fafc7605245ef175a8fb8558eb7c30c4f7b0400.zip |
zip archive download
Diffstat (limited to 'web.go')
-rw-r--r-- | web.go | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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) { |