Return routes array for federation app

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl 2019-11-08 10:55:51 +01:00
parent 9fe4b953e9
commit 9e6494304a
No known key found for this signature in database
GPG Key ID: 4C614C6ED2CDE6DF
1 changed files with 43 additions and 48 deletions

View File

@ -22,11 +22,7 @@
* *
*/ */
$application = new \OCA\Federation\AppInfo\Application(); return [
$application->registerRoutes(
$this,
[
'routes' => [ 'routes' => [
[ [
'name' => 'Settings#addServer', 'name' => 'Settings#addServer',
@ -70,5 +66,4 @@ $application->registerRoutes(
'verb' => 'POST', 'verb' => 'POST',
], ],
], ],
] ];
);