Return routes array for federation app
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
parent
9fe4b953e9
commit
9e6494304a
|
@ -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',
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
]
|
];
|
||||||
);
|
|
||||||
|
|
Loading…
Reference in New Issue