diff options
author | Björn Schießle <bjoern@schiessle.org> | 2015-11-18 15:07:41 +0100 |
---|---|---|
committer | Björn Schießle <bjoern@schiessle.org> | 2015-11-19 18:07:25 +0100 |
commit | 2754afc0747950591b3ddca37248d363c6ab64f3 (patch) | |
tree | 9bae88b29416ec6d9e3f58abdf26e98e0b7d42e8 /apps/federation/appinfo/routes.php | |
parent | 8f55b1a27d97f24751542b6dc44a89eb03387a75 (diff) | |
download | nextcloud-server-2754afc0747950591b3ddca37248d363c6ab64f3.tar.gz nextcloud-server-2754afc0747950591b3ddca37248d363c6ab64f3.zip |
add option to auto add servers to the list of trusted servers once a federated share was created and accepted successfully
Diffstat (limited to 'apps/federation/appinfo/routes.php')
-rw-r--r-- | apps/federation/appinfo/routes.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/federation/appinfo/routes.php b/apps/federation/appinfo/routes.php index f45db43e4e7..8c1629a4fc6 100644 --- a/apps/federation/appinfo/routes.php +++ b/apps/federation/appinfo/routes.php @@ -35,6 +35,11 @@ $application->registerRoutes( 'url' => '/trusted-servers/{id}', 'verb' => 'DELETE' ], + [ + 'name' => 'Settings#autoAddServers', + 'url' => '/auto-add-servers', + 'verb' => 'POST' + ], ] ] ); |