aboutsummaryrefslogtreecommitdiffstats
path: root/core/routes.php
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2018-03-21 09:46:52 +0100
committerJoas Schilling <coding@schilljs.com>2018-03-21 09:46:52 +0100
commitdabd7291c35599dd072cc82b93b3f1c2628835a7 (patch)
tree5adbc943aa34191033d9cc0b71d6273e014e1d7f /core/routes.php
parentc8340ace5c22b3a3cf2132b2efbe91104aab04e9 (diff)
downloadnextcloud-server-dabd7291c35599dd072cc82b93b3f1c2628835a7.tar.gz
nextcloud-server-dabd7291c35599dd072cc82b93b3f1c2628835a7.zip
Make the new autocomplete endpoint OCS
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'core/routes.php')
-rw-r--r--core/routes.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/routes.php b/core/routes.php
index 87c265d8098..1c7be78bc78 100644
--- a/core/routes.php
+++ b/core/routes.php
@@ -64,7 +64,6 @@ $application->registerRoutes($this, [
['name' => 'Js#getJs', 'url' => '/js/{appName}/{fileName}', 'verb' => 'GET'],
['name' => 'contactsMenu#index', 'url' => '/contactsmenu/contacts', 'verb' => 'POST'],
['name' => 'contactsMenu#findOne', 'url' => '/contactsmenu/findOne', 'verb' => 'POST'],
- ['name' => 'AutoComplete#get', 'url' => 'autocomplete/get', 'verb' => 'GET'],
['name' => 'WalledGarden#get', 'url' => '/204', 'verb' => 'GET'],
['name' => 'Search#search', 'url' => '/core/search', 'verb' => 'GET'],
],
@@ -75,6 +74,7 @@ $application->registerRoutes($this, [
['root' => '/identityproof', 'name' => 'OCS#getIdentityProof', 'url' => '/key/{cloudId}', 'verb' => 'GET'],
['root' => '/core', 'name' => 'Navigation#getAppsNavigation', 'url' => '/navigation/apps', 'verb' => 'GET'],
['root' => '/core', 'name' => 'Navigation#getSettingsNavigation', 'url' => '/navigation/settings', 'verb' => 'GET'],
+ ['root' => '/core', 'name' => 'AutoComplete#get', 'url' => '/autocomplete/get', 'verb' => 'GET'],
],
]);