diff options
author | Unknwon <u@gogs.io> | 2015-08-06 23:25:35 +0800 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-08-06 23:25:35 +0800 |
commit | 9d414d4dd905840911874b879c28cb8178f6f56e (patch) | |
tree | 74813012b2bb9bee00119edda09118353af143b7 /cmd | |
parent | 952c480f4f4bedfaa8089ffb45311d63d0ab3fb4 (diff) | |
download | gitea-9d414d4dd905840911874b879c28cb8178f6f56e.tar.gz gitea-9d414d4dd905840911874b879c28cb8178f6f56e.zip |
remove Index field of milestone
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/web.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cmd/web.go b/cmd/web.go index 80b4feac14..9e35698a4d 100644 --- a/cmd/web.go +++ b/cmd/web.go @@ -435,9 +435,9 @@ 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.EditMilestone) - m.Post("/:index/edit", bindIgnErr(auth.CreateMilestoneForm{}), repo.EditMilestonePost) - m.Get("/:index/:action", repo.ChangeMilestonStatus) + m.Get("/:id/edit", repo.EditMilestone) + m.Post("/:id/edit", bindIgnErr(auth.CreateMilestoneForm{}), repo.EditMilestonePost) + m.Get("/:id/:action", repo.ChangeMilestonStatus) m.Post("/delete", repo.DeleteMilestone) }, reqRepoAdmin) |