aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/web.go
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-05-24 02:31:58 -0400
committerUnknown <joe2010xtmf@163.com>2014-05-24 02:31:58 -0400
commitb1bdbd7f948b0598e69355ba8312a50c74bc04a7 (patch)
tree1bf401b1d334fab67f72a69a3ff4d2c310cb14c6 /cmd/web.go
parent50ba08e2c602993fc283b2d868639820aba57528 (diff)
downloadgitea-b1bdbd7f948b0598e69355ba8312a50c74bc04a7.tar.gz
gitea-b1bdbd7f948b0598e69355ba8312a50c74bc04a7.zip
Almost done issue label #200
Diffstat (limited to 'cmd/web.go')
-rw-r--r--cmd/web.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/cmd/web.go b/cmd/web.go
index 60bef9d035..0e8fc09b9e 100644
--- a/cmd/web.go
+++ b/cmd/web.go
@@ -76,7 +76,6 @@ func runWeb(*cli.Context) {
m.Get("/issues", reqSignIn, user.Issues)
m.Get("/pulls", reqSignIn, user.Pulls)
m.Get("/stars", reqSignIn, user.Stars)
- m.Get("/help", routers.Help)
m.Group("/api", func(r martini.Router) {
m.Group("/v1", func(r martini.Router) {
@@ -191,9 +190,12 @@ func runWeb(*cli.Context) {
r.Get("/new", repo.CreateIssue)
r.Post("/new", bindIgnErr(auth.CreateIssueForm{}), repo.CreateIssuePost)
r.Post("/:index", bindIgnErr(auth.CreateIssueForm{}), repo.UpdateIssue)
- r.Post("/:index/assignee", repo.UpdateAssignee)
+ r.Post("/:index/label", repo.UpdateIssueLabel)
r.Post("/:index/milestone", repo.UpdateIssueMilestone)
+ r.Post("/:index/assignee", repo.UpdateAssignee)
r.Post("/labels/new", bindIgnErr(auth.CreateLabelForm{}), repo.NewLabel)
+ r.Post("/labels/edit", bindIgnErr(auth.CreateLabelForm{}), repo.UpdateLabel)
+ r.Post("/labels/delete", repo.DeleteLabel)
r.Get("/milestones", repo.Milestones)
r.Get("/milestones/new", repo.NewMilestone)
r.Post("/milestones/new", bindIgnErr(auth.CreateMilestoneForm{}), repo.NewMilestonePost)