diff options
author | Julius Härtl <jus@bitgrid.net> | 2018-05-22 08:58:07 +0200 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2018-06-06 11:40:09 +0200 |
commit | bb50ee08e94b9c466b0d73547e326394f1424c9c (patch) | |
tree | 417757234294e3b8ba152270d0f8f31b2b0cb8c5 /settings/routes.php | |
parent | 3b39e9c97196a3141a3087cce4b24e1784879c6f (diff) | |
download | nextcloud-server-bb50ee08e94b9c466b0d73547e326394f1424c9c.tar.gz nextcloud-server-bb50ee08e94b9c466b0d73547e326394f1424c9c.zip |
Fix app enabling for groups and allow requesting all apps
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'settings/routes.php')
-rw-r--r-- | settings/routes.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/settings/routes.php b/settings/routes.php index 29db7c06d4e..e0c0eb3d9bf 100644 --- a/settings/routes.php +++ b/settings/routes.php @@ -51,7 +51,10 @@ $application->registerRoutes($this, [ ['name' => 'AppSettings#listApps', 'url' => '/settings/apps/list', 'verb' => 'GET'], ['name' => 'AppSettings#viewApps', 'url' => '/settings/apps/{category}', 'verb' => 'GET', 'defaults' => ['category' => '']], + ['name' => 'AppSettings#viewApps', 'url' => '/settings/apps/{category}/{id}', 'verb' => 'GET', 'defaults' => ['category' => '', 'id' => '']], + ['name' => 'AppSettings#enableApp', 'url' => '/settings/apps/enable/{appId}', 'verb' => 'GET'], + ['name' => 'AppSettings#enableApp', 'url' => '/settings/apps/enable/{appId}', 'verb' => 'POST'], ['name' => 'AppSettings#enableApps', 'url' => '/settings/apps/enable', 'verb' => 'POST'], ['name' => 'AppSettings#disableApp', 'url' => '/settings/apps/disable/{appId}', 'verb' => 'GET'], ['name' => 'AppSettings#disableApps', 'url' => '/settings/apps/disable', 'verb' => 'POST'], |