aboutsummaryrefslogtreecommitdiffstats
path: root/web.go
diff options
context:
space:
mode:
authorFuXiaoHei <fuxiaohei@hexiaz.com>2014-04-06 14:54:28 +0800
committerFuXiaoHei <fuxiaohei@hexiaz.com>2014-04-06 14:54:28 +0800
commit3ede496383bc0e5ad2cb9c5f034890bb6d626b3c (patch)
tree489687b5d9fdad3bf613951466168c1b1dee972f /web.go
parent75db79b4b6bcb8f61dd957c9bd21b32d4746f866 (diff)
downloadgitea-3ede496383bc0e5ad2cb9c5f034890bb6d626b3c.tar.gz
gitea-3ede496383bc0e5ad2cb9c5f034890bb6d626b3c.zip
add release-new route
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 5fc3350f1f..01765e5c0c 100644
--- a/web.go
+++ b/web.go
@@ -148,6 +148,7 @@ func runWeb(*cli.Context) {
r.Get("/issues", repo.Issues)
r.Get("/issues/:index", repo.ViewIssue)
r.Get("/releases", repo.Releases)
+ r.Any("/releases/new",repo.ReleasesNew)
r.Get("/pulls", repo.Pulls)
r.Get("/branches", repo.Branches)
}, ignSignIn, middleware.RepoAssignment(true))