diff options
author | Unknwon <u@gogs.io> | 2015-08-05 20:23:08 +0800 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-08-05 20:23:08 +0800 |
commit | 0705f55ce097b9892a7c4c11faa5396c4e557232 (patch) | |
tree | bbd95cb8bbe5bf1fb76b35417d686d4178050d57 /cmd | |
parent | 6d2f25b9f597cb06e7c686bc837e622f059441fb (diff) | |
download | gitea-0705f55ce097b9892a7c4c11faa5396c4e557232.tar.gz gitea-0705f55ce097b9892a7c4c11faa5396c4e557232.zip |
finish new milestone page
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/web.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/web.go b/cmd/web.go index 283b05eb63..49e8446c15 100644 --- a/cmd/web.go +++ b/cmd/web.go @@ -429,7 +429,8 @@ func runWeb(ctx *cli.Context) { m.Post("/new", bindIgnErr(auth.CreateMilestoneForm{}), repo.NewMilestonePost) m.Get("/:index/edit", repo.EditMilestone) m.Post("/:index/edit", bindIgnErr(auth.CreateMilestoneForm{}), repo.EditMilestonePost) - m.Get("/:index/:action", repo.MilestoneActions) + m.Get("/:index/:action", repo.ChangeMilestonStatus) + m.Post("/delete", repo.DeleteMilestone) }, reqRepoAdmin) m.Post("/comment/:action", repo.Comment) |