summaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-05-13 19:46:48 -0400
committerUnknown <joe2010xtmf@163.com>2014-05-13 19:46:48 -0400
commit5ed5aa5228feba935679df8cb676af62018cc25d (patch)
tree91eab6292ed10c2e0bfe606ae972d9a03c1cb3e3 /cmd
parent33ec0632ffd9e770793eba57393f27385d5f392d (diff)
downloadgitea-5ed5aa5228feba935679df8cb676af62018cc25d.tar.gz
gitea-5ed5aa5228feba935679df8cb676af62018cc25d.zip
Finish 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 d2b148d7e6..a79384412d 100644
--- a/cmd/web.go
+++ b/cmd/web.go
@@ -190,6 +190,7 @@ func runWeb(*cli.Context) {
r.Post("/issues/milestones/new", bindIgnErr(auth.CreateMilestoneForm{}), repo.NewMilestonePost)
r.Get("/issues/milestones/:index/edit", repo.UpdateMilestone)
r.Post("/issues/milestones/:index/edit", bindIgnErr(auth.CreateMilestoneForm{}), repo.UpdateMilestonePost)
+ r.Get("/issues/milestones/:index/:action", repo.UpdateMilestone)
r.Post("/comment/:action", repo.Comment)
r.Get("/releases/new", repo.ReleasesNew)
}, reqSignIn, middleware.RepoAssignment(true))