aboutsummaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-05-14 10:55:36 -0400
committerUnknown <joe2010xtmf@163.com>2014-05-14 10:55:36 -0400
commit46fc36c3a63b5501ca154df885ae5446ebb66220 (patch)
treebf430623b1a1eb664b96759bff068d2a2624b92e /cmd
parent99f2400e3b4f141671bd8f31d23afcd0cf511c05 (diff)
downloadgitea-46fc36c3a63b5501ca154df885ae5446ebb66220.tar.gz
gitea-46fc36c3a63b5501ca154df885ae5446ebb66220.zip
Finish change issue’s milestone
Diffstat (limited to 'cmd')
-rw-r--r--cmd/web.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/web.go b/cmd/web.go
index a79384412d..5a0bd167e1 100644
--- a/cmd/web.go
+++ b/cmd/web.go
@@ -185,6 +185,7 @@ func runWeb(*cli.Context) {
r.Post("/issues/new", bindIgnErr(auth.CreateIssueForm{}), repo.CreateIssuePost)
r.Post("/issues/:index", bindIgnErr(auth.CreateIssueForm{}), repo.UpdateIssue)
r.Post("/issues/:index/assignee", repo.UpdateAssignee)
+ r.Post("/issues/:index/milestone", repo.UpdateIssueMilestone)
r.Get("/issues/milestones", repo.Milestones)
r.Get("/issues/milestones/new", repo.NewMilestone)
r.Post("/issues/milestones/new", bindIgnErr(auth.CreateMilestoneForm{}), repo.NewMilestonePost)