From 0705f55ce097b9892a7c4c11faa5396c4e557232 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Wed, 5 Aug 2015 20:23:08 +0800 Subject: finish new milestone page --- cmd/web.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cmd') 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) -- cgit v1.2.3