summaryrefslogtreecommitdiffstats
path: root/core/routes.php
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2012-10-28 19:28:44 +0100
committerBart Visscher <bartv@thisnet.nl>2012-10-29 15:04:55 +0100
commited7accd237bae2bd76df5e6256d8ee2ce2f14308 (patch)
treef28e327add5e36e8f2c65d0a916ce75928ee90e3 /core/routes.php
parent1bdd0c949bca2f68da0ab3f47efbec10a7e51702 (diff)
downloadnextcloud-server-ed7accd237bae2bd76df5e6256d8ee2ce2f14308.tar.gz
nextcloud-server-ed7accd237bae2bd76df5e6256d8ee2ce2f14308.zip
Change search to use routing
Diffstat (limited to 'core/routes.php')
-rw-r--r--core/routes.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/routes.php b/core/routes.php
index 186fa8ae562..5c99c542d48 100644
--- a/core/routes.php
+++ b/core/routes.php
@@ -9,6 +9,9 @@
require_once 'settings/routes.php';
// Core ajax actions
+// Search
+$this->create('search_ajax_search', '/search/ajax/search.php')
+ ->actionInclude('search/ajax/search.php');
// AppConfig
$this->create('core_ajax_appconfig', '/core/ajax/appconfig.php')
->actionInclude('core/ajax/appconfig.php');