diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2013-01-20 23:46:46 +0100 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2013-01-20 23:46:46 +0100 |
commit | 68025ac43c8f439f58347121b3b7a86a44f1f80d (patch) | |
tree | a1a084d390b55a23918b35dd2bf35c7e1742a8e6 /core | |
parent | af8c1936058bfedfe6ae256cab2a70259f11e044 (diff) | |
download | nextcloud-server-68025ac43c8f439f58347121b3b7a86a44f1f80d.tar.gz nextcloud-server-68025ac43c8f439f58347121b3b7a86a44f1f80d.zip |
Add a route to the JS config
Diffstat (limited to 'core')
-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 fc511d403d8..7408858b107 100644 --- a/core/routes.php +++ b/core/routes.php @@ -32,6 +32,9 @@ $this->create('core_ajax_vcategories_favorites', '/core/ajax/vcategories/favorit ->actionInclude('core/ajax/vcategories/favorites.php'); $this->create('core_ajax_vcategories_edit', '/core/ajax/vcategories/edit.php') ->actionInclude('core/ajax/vcategories/edit.php'); +// oC JS config +$this->create('js_config', '/core/js/config.js') + ->actionInclude('core/js/config.php'); // Routing $this->create('core_ajax_routes', '/core/routes.json') ->action('OC_Router', 'JSRoutes'); |