summaryrefslogtreecommitdiffstats
path: root/core/routes.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/routes.php')
-rw-r--r--core/routes.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/core/routes.php b/core/routes.php
index eb6db1046fb..87c265d8098 100644
--- a/core/routes.php
+++ b/core/routes.php
@@ -66,6 +66,7 @@ $application->registerRoutes($this, [
['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'],
],
'ocs' => [
['root' => '/cloud', 'name' => 'OCS#getCapabilities', 'url' => '/capabilities', 'verb' => 'GET'],
@@ -81,9 +82,6 @@ $application->registerRoutes($this, [
/** @var $this OCP\Route\IRouter */
// Core ajax actions
-// Search
-$this->create('search_ajax_search', '/core/search')
- ->actionInclude('core/search/ajax/search.php');
// Routing
$this->create('core_ajax_update', '/core/ajax/update.php')
->actionInclude('core/ajax/update.php');