diff options
author | Bart Visscher <bartv@thisnet.nl> | 2012-10-05 09:42:36 +0200 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2012-10-05 09:42:36 +0200 |
commit | f3a211c03c3dd017e263ac5226a52eb62562d198 (patch) | |
tree | 4161ed0ab3b5fe695d08dc0d51df0a0ea02fe313 /core/routes.php | |
parent | 167e9c1cc025ce920e48032ff5331fcb4f84de3d (diff) | |
download | nextcloud-server-f3a211c03c3dd017e263ac5226a52eb62562d198.tar.gz nextcloud-server-f3a211c03c3dd017e263ac5226a52eb62562d198.zip |
Implement routing on javascript side
Diffstat (limited to 'core/routes.php')
-rw-r--r-- | core/routes.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/routes.php b/core/routes.php index d396ddd6473..8d836816265 100644 --- a/core/routes.php +++ b/core/routes.php @@ -28,6 +28,9 @@ $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'); +// Routing +$this->create('core_ajax_routes', '/core/routes.json') + ->action('OC_Router', 'JSRoutes'); // Not specifically routed $this->create('app_css', '/apps/{app}/{file}') |