diff options
author | Unknwon <u@gogs.io> | 2015-08-05 18:26:18 +0800 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-08-05 18:26:18 +0800 |
commit | 74bd6b939c725e6e9c7395fe6356e9a6d7d662e6 (patch) | |
tree | aeb3f0ac190f6c1bee4f754ca70067f77b7b9280 /cmd | |
parent | cf90312b8f47a0dc028f1263cbf763bce1cb6d77 (diff) | |
download | gitea-74bd6b939c725e6e9c7395fe6356e9a6d7d662e6.tar.gz gitea-74bd6b939c725e6e9c7395fe6356e9a6d7d662e6.zip |
milestone: edit
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/web.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/web.go b/cmd/web.go index 7b67388c21..283b05eb63 100644 --- a/cmd/web.go +++ b/cmd/web.go @@ -427,8 +427,8 @@ func runWeb(ctx *cli.Context) { m.Group("/milestones", func() { m.Get("/new", repo.NewMilestone) m.Post("/new", bindIgnErr(auth.CreateMilestoneForm{}), repo.NewMilestonePost) - m.Get("/:index/edit", repo.MilestoneActions) - m.Post("/:index/edit", bindIgnErr(auth.CreateMilestoneForm{}), repo.UpdateMilestonePost) + m.Get("/:index/edit", repo.EditMilestone) + m.Post("/:index/edit", bindIgnErr(auth.CreateMilestoneForm{}), repo.EditMilestonePost) m.Get("/:index/:action", repo.MilestoneActions) }, reqRepoAdmin) |