From 29ae7f55ef49e02cd9a823ead1882342bddaaef4 Mon Sep 17 00:00:00 2001 From: Lukas Reschke Date: Tue, 19 Aug 2014 15:37:00 +0200 Subject: [PATCH] Remove loadAppScriptFile from the default routes --- core/routes.php | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/core/routes.php b/core/routes.php index d08bd105a14..cf74521a746 100644 --- a/core/routes.php +++ b/core/routes.php @@ -98,16 +98,6 @@ $this->create('core_avatar_post_cropped', '/avatar/cropped') ->post() ->action('OC\Core\Avatar\Controller', 'postCroppedAvatar'); -// Not specifically routed -$this->create('app_index_script', '/apps/{app}/') - ->defaults(array('file' => 'index.php')) - //->requirements(array('file' => '.*.php')) - ->action('OC', 'loadAppScriptFile'); -$this->create('app_script', '/apps/{app}/{file}') - ->defaults(array('file' => 'index.php')) - ->requirements(array('file' => '.*.php')) - ->action('OC', 'loadAppScriptFile'); - // used for heartbeat $this->create('heartbeat', '/heartbeat')->action(function(){ // do nothing -- 2.39.5