summaryrefslogtreecommitdiffstats
path: root/web.go
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-04-02 12:43:31 -0400
committerUnknown <joe2010xtmf@163.com>2014-04-02 12:43:31 -0400
commitdb66b8da7227f7fd3ff9a8d7ccece0c3e31ea3d0 (patch)
treea48dc02ac1cb79ab18cb2837dccae10a503358f1 /web.go
parent97b133bbee77740bded5b4f2e7ad9896d6804cf7 (diff)
downloadgitea-db66b8da7227f7fd3ff9a8d7ccece0c3e31ea3d0.tar.gz
gitea-db66b8da7227f7fd3ff9a8d7ccece0c3e31ea3d0.zip
Add release tmpl
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 ececd6c2b3..5fc3350f1f 100644
--- a/web.go
+++ b/web.go
@@ -147,6 +147,7 @@ func runWeb(*cli.Context) {
m.Group("/:username/:reponame", func(r martini.Router) {
r.Get("/issues", repo.Issues)
r.Get("/issues/:index", repo.ViewIssue)
+ r.Get("/releases", repo.Releases)
r.Get("/pulls", repo.Pulls)
r.Get("/branches", repo.Branches)
}, ignSignIn, middleware.RepoAssignment(true))