diff options
Diffstat (limited to 'cmd/web.go')
-rw-r--r-- | cmd/web.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/web.go b/cmd/web.go index 4f49cadcd6..8b7134adb0 100644 --- a/cmd/web.go +++ b/cmd/web.go @@ -495,6 +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) }, reqSignIn, reqRepoPusher) }, repo.MustEnableWiki, middleware.RepoRef()) |