summaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2016-02-24 23:59:17 -0500
committerUnknwon <u@gogs.io>2016-02-24 23:59:17 -0500
commitbaaf6046a1b0b81b91c76ecc259a13f9eb1c5cdb (patch)
tree2597d4ada58b2d555594dd2152224edc0cd36411 /cmd
parent5418c2c5e45ba013938666f8c64c0a60a61a1398 (diff)
downloadgitea-baaf6046a1b0b81b91c76ecc259a13f9eb1c5cdb.tar.gz
gitea-baaf6046a1b0b81b91c76ecc259a13f9eb1c5cdb.zip
Minor fix for #2660
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 bb9de7fdb7..c24d7906c5 100644
--- a/cmd/web.go
+++ b/cmd/web.go
@@ -250,7 +250,7 @@ func runWeb(ctx *cli.Context) {
m.Group("/admin", func() {
m.Get("", adminReq, admin.Dashboard)
m.Get("/config", admin.Config)
- m.Get("/config/testmailer", admin.TestMailer)
+ m.Post("/config/test_mail", admin.SendTestMail)
m.Get("/monitor", admin.Monitor)
m.Group("/users", func() {