summaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorJosh Frye <joshfng@gmail.com>2016-03-03 17:41:01 -0500
committerJosh Frye <joshfng@gmail.com>2016-03-04 09:26:52 -0500
commit2f228ddf31b76bc424635f262f34e4b01226f2ef (patch)
tree34f24b5c89f6daec1348259f5b6ed573f1e9b30b /cmd
parent1ca171dbe9a06d9c269b90b442fda63e36a418a8 (diff)
downloadgitea-2f228ddf31b76bc424635f262f34e4b01226f2ef.tar.gz
gitea-2f228ddf31b76bc424635f262f34e4b01226f2ef.zip
Update delete wiki page route
Diffstat (limited to 'cmd')
-rw-r--r--cmd/web.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/web.go b/cmd/web.go
index 8b7134adb0..530bec3852 100644
--- a/cmd/web.go
+++ b/cmd/web.go
@@ -495,7 +495,7 @@ func runWeb(ctx *cli.Context) {
Post(bindIgnErr(auth.NewWikiForm{}), repo.NewWikiPost)
m.Combo("/:page/_edit").Get(repo.EditWiki).
Post(bindIgnErr(auth.NewWikiForm{}), repo.EditWikiPost)
- m.Post("/:page", bindIgnErr(auth.NewWikiForm{}), repo.DeleteWikiPagePost)
+ m.Post("/:page/delete", bindIgnErr(auth.NewWikiForm{}), repo.DeleteWikiPagePost)
}, reqSignIn, reqRepoPusher)
}, repo.MustEnableWiki, middleware.RepoRef())