diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2018-03-09 13:53:28 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2018-03-09 14:36:48 +0100 |
commit | 7674e591bdb8060227da3411ffd5cc43f7483f51 (patch) | |
tree | 5696a09a79f21ccbb104736692e9f5be0aff1633 /core/routes.php | |
parent | 81a3ac1226f468f144a0de08ffe062be2abc480d (diff) | |
download | nextcloud-server-7674e591bdb8060227da3411ffd5cc43f7483f51.tar.gz nextcloud-server-7674e591bdb8060227da3411ffd5cc43f7483f51.zip |
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.php | 4 |
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'); |