summaryrefslogtreecommitdiffstats
path: root/core/routes.php
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2018-01-29 12:04:45 +0100
committerJulius Härtl <jus@bitgrid.net>2018-02-12 17:22:32 +0100
commit96480af159f57fd670cd12056e7a13ec76ac6d36 (patch)
treebf81f908e2c0f8b97e18cce61300af64f66bf9bc /core/routes.php
parentf9dbaf6f2ab1b9567daad91f79d6a68d45b8cde4 (diff)
downloadnextcloud-server-96480af159f57fd670cd12056e7a13ec76ac6d36.tar.gz
nextcloud-server-96480af159f57fd670cd12056e7a13ec76ac6d36.zip
Add navigation endpoint
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'core/routes.php')
-rw-r--r--core/routes.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/routes.php b/core/routes.php
index 0eed8ed1796..5fc58cbdfc0 100644
--- a/core/routes.php
+++ b/core/routes.php
@@ -59,6 +59,8 @@ $application->registerRoutes($this, [
['name' => 'OCJS#getConfig', 'url' => '/core/js/oc.js', 'verb' => 'GET'],
['name' => 'Preview#getPreviewByFileId', 'url' => '/core/preview', 'verb' => 'GET'],
['name' => 'Preview#getPreview', 'url' => '/core/preview.png', 'verb' => 'GET'],
+ ['name' => 'Navigation#getAppsNavigation', 'url' => '/core/navigation/apps', 'verb' => 'GET'],
+ ['name' => 'Navigation#getSettingsNavigation', 'url' => '/core/navigation/settings', 'verb' => 'GET'],
['name' => 'Css#getCss', 'url' => '/css/{appName}/{fileName}', 'verb' => 'GET'],
['name' => 'Js#getJs', 'url' => '/js/{appName}/{fileName}', 'verb' => 'GET'],
['name' => 'contactsMenu#index', 'url' => '/contactsmenu/contacts', 'verb' => 'POST'],