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();
|
||||
|
||||
$application->registerRoutes(
|
||||
$this,
|
||||
[
|
||||
return [
|
||||
'routes' => [
|
||||
[
|
||||
'name' => 'Settings#addServer',
|
||||
|
@ -70,5 +66,4 @@ $application->registerRoutes(
|
|||
'verb' => 'POST',
|
||||
],
|
||||
],
|
||||
]
|
||||
);
|
||||
];
|
||||
|
|
Loading…
Reference in New Issue