summaryrefslogtreecommitdiffstats
path: root/cmd/web.go
diff options
context:
space:
mode:
authorUnknwon <joe2010xtmf@163.com>2014-08-29 15:32:52 +0800
committerUnknwon <joe2010xtmf@163.com>2014-08-29 15:32:52 +0800
commit88291745747ffb200b55ca62e1054d1d2c4315d3 (patch)
tree493d0cfe13d53c0720a25d30ced2b0d8d4f39d1a /cmd/web.go
parent6558990e3a1e3d5aac595e0f0b525a834d708647 (diff)
downloadgitea-88291745747ffb200b55ca62e1054d1d2c4315d3.tar.gz
gitea-88291745747ffb200b55ca62e1054d1d2c4315d3.zip
Finish new admin users pages
Diffstat (limited to 'cmd/web.go')
-rw-r--r--cmd/web.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/web.go b/cmd/web.go
index 1ce671be41..8e471eb61f 100644
--- a/cmd/web.go
+++ b/cmd/web.go
@@ -200,7 +200,7 @@ func runWeb(*cli.Context) {
r.Post("/new", bindIgnErr(auth.RegisterForm{}), admin.NewUserPost)
r.Get("/:userid", admin.EditUser)
r.Post("/:userid", bindIgnErr(auth.AdminEditUserForm{}), admin.EditUserPost)
- r.Get("/:userid/delete", admin.DeleteUser)
+ r.Post("/:userid/delete", admin.DeleteUser)
}, adminReq)
m.Group("/admin/auths", func(r *macaron.Router) {