aboutsummaryrefslogtreecommitdiffstats
path: root/settings/routes.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2014-02-26 12:13:20 +0100
committerJoas Schilling <nickvergessen@gmx.de>2014-03-05 10:01:34 +0100
commit5b8cde48dc6d68a3921195b5367024b94abe14af (patch)
tree0675ce506a9f32ddda610afaf76d623c6dde5ce8 /settings/routes.php
parent2f0db9af07013655393ba199a1890fbf0e55ba0f (diff)
downloadnextcloud-server-5b8cde48dc6d68a3921195b5367024b94abe14af.tar.gz
nextcloud-server-5b8cde48dc6d68a3921195b5367024b94abe14af.zip
Add button to send a test mail after changing the email settings
Fix #7175
Diffstat (limited to 'settings/routes.php')
-rw-r--r--settings/routes.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/settings/routes.php b/settings/routes.php
index 64f7122f0cf..a0d54dea1e7 100644
--- a/settings/routes.php
+++ b/settings/routes.php
@@ -73,5 +73,8 @@ $this->create('settings_ajax_setloglevel', '/settings/ajax/setloglevel.php')
$this->create('settings_mail_settings', '/settings/admin/mailsettings')
->post()
->action('OC\Settings\Admin\Controller', 'setMailSettings');
+$this->create('settings_admin_mail_test', '/settings/admin/mailtest')
+ ->post()
+ ->action('OC\Settings\Admin\Controller', 'sendTestMail');
$this->create('settings_ajax_setsecurity', '/settings/ajax/setsecurity.php')
->actionInclude('settings/ajax/setsecurity.php');