summaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2016-02-24 23:26:32 -0500
committerUnknwon <u@gogs.io>2016-02-24 23:26:32 -0500
commit5418c2c5e45ba013938666f8c64c0a60a61a1398 (patch)
treec7c5ebb74c5d4639550eea9f5042073f125466ed /cmd
parentd324500959c06e975921790f8770aa5d1bdf2344 (diff)
parentc27038e392c87634c7a85674eeb2336c5074e5a3 (diff)
downloadgitea-5418c2c5e45ba013938666f8c64c0a60a61a1398.tar.gz
gitea-5418c2c5e45ba013938666f8c64c0a60a61a1398.zip
Merge pull request #2660 from joshfng/config-test-mailer
Test mailer button. Addresses #1531
Diffstat (limited to 'cmd')
-rw-r--r--cmd/web.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/web.go b/cmd/web.go
index c180b4a97c..bb9de7fdb7 100644
--- a/cmd/web.go
+++ b/cmd/web.go
@@ -250,6 +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.Get("/monitor", admin.Monitor)
m.Group("/users", func() {