diff options
author | Bart Visscher <bartv@thisnet.nl> | 2012-10-02 21:57:51 +0200 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2012-10-02 21:58:42 +0200 |
commit | de1bfe9d6b50c37c6999ff652a31535b0a2faf41 (patch) | |
tree | 34d29b09716763f62cd1aa33b815450b6370bf1f /core/routes.php | |
parent | bb136b9adf021cb154ff05222d3439373312bbc5 (diff) | |
download | nextcloud-server-de1bfe9d6b50c37c6999ff652a31535b0a2faf41.tar.gz nextcloud-server-de1bfe9d6b50c37c6999ff652a31535b0a2faf41.zip |
Make the core ajax calls use the router
Diffstat (limited to 'core/routes.php')
-rw-r--r-- | core/routes.php | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/core/routes.php b/core/routes.php index b0f41dd2861..d396ddd6473 100644 --- a/core/routes.php +++ b/core/routes.php @@ -8,6 +8,27 @@ require_once('settings/routes.php'); +// Core ajax actions +// AppConfig +$this->create('core_ajax_appconfig', '/core/ajax/appconfig.php') + ->actionInclude('core/ajax/appconfig.php'); +// RequestToken +$this->create('core_ajax_requesttoken', '/core/ajax/requesttoken.php') + ->actionInclude('core/ajax/requesttoken.php'); +// Share +$this->create('core_ajax_share', '/core/ajax/share.php') + ->actionInclude('core/ajax/share.php'); +// Translations +$this->create('core_ajax_translations', '/core/ajax/translations.php') + ->actionInclude('core/ajax/translations.php'); +// VCategories +$this->create('core_ajax_vcategories_add', '/core/ajax/vcategories/add.php') + ->actionInclude('core/ajax/vcategories/add.php'); +$this->create('core_ajax_vcategories_delete', '/core/ajax/vcategories/delete.php') + ->actionInclude('core/ajax/vcategories/delete.php'); +$this->create('core_ajax_vcategories_edit', '/core/ajax/vcategories/edit.php') + ->actionInclude('core/ajax/vcategories/edit.php'); + // Not specifically routed $this->create('app_css', '/apps/{app}/{file}') ->requirements(array('file' => '.*.css')) |