Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2018-03-09 15:53:28 +0300
committerRoeland Jago Douma <roeland@famdouma.nl>2018-03-09 16:36:48 +0300
commit7674e591bdb8060227da3411ffd5cc43f7483f51 (patch)
tree5696a09a79f21ccbb104736692e9f5be0aff1633 /core/routes.php
parent81a3ac1226f468f144a0de08ffe062be2abc480d (diff)
Move search to proper Controller
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
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');