diff options
author | Unknwon <u@gogs.io> | 2016-03-04 13:32:17 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2016-03-04 13:32:17 -0500 |
commit | 9df6ce48c538e0458b6798f0819db8afce43e5c7 (patch) | |
tree | 340f576bc4d0c4505edb40cbab2a2efd5cd66ac5 /cmd/web.go | |
parent | 4d5911dbcfc4aca28987e61dc46f0129010b6d29 (diff) | |
download | gitea-9df6ce48c538e0458b6798f0819db8afce43e5c7.tar.gz gitea-9df6ce48c538e0458b6798f0819db8afce43e5c7.zip |
Minor fixes for #2746
Diffstat (limited to 'cmd/web.go')
-rw-r--r-- | cmd/web.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/web.go b/cmd/web.go index 530bec3852..2e4989039c 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/delete", bindIgnErr(auth.NewWikiForm{}), repo.DeleteWikiPagePost) + m.Post("/:page/delete", repo.DeleteWikiPagePost) }, reqSignIn, reqRepoPusher) }, repo.MustEnableWiki, middleware.RepoRef()) |