diff options
Diffstat (limited to 'core/routes.php')
-rw-r--r-- | core/routes.php | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/core/routes.php b/core/routes.php index f8454877e03..74be8806120 100644 --- a/core/routes.php +++ b/core/routes.php @@ -7,7 +7,8 @@ */ // Post installation check -/** @var $this OC_Router */ + +/** @var $this OCP\Route\IRouter */ $this->create('post_setup_check', '/post-setup-check') ->action('OC_Setup', 'postSetupCheck'); @@ -65,8 +66,6 @@ $this->create('core_tags_delete', '/tags/{type}/delete') $this->create('js_config', '/core/js/oc.js') ->actionInclude('core/js/config.php'); // Routing -$this->create('core_ajax_routes', '/core/routes.json') - ->action('OC_Router', 'JSRoutes'); $this->create('core_ajax_preview', '/core/preview.png') ->actionInclude('core/ajax/preview.php'); $this->create('core_lostpassword_index', '/lostpassword/') @@ -100,9 +99,6 @@ $this->create('core_avatar_post_cropped', '/avatar/cropped') ->action('OC\Core\Avatar\Controller', 'postCroppedAvatar'); // Not specifically routed -$this->create('app_css', '/apps/{app}/{file}') - ->requirements(array('file' => '.*.css')) - ->action('OC', 'loadCSSFile'); $this->create('app_index_script', '/apps/{app}/') ->defaults(array('file' => 'index.php')) //->requirements(array('file' => '.*.php')) |