Remove loadAppScriptFile from the default routes

This commit is contained in:
Lukas Reschke 2014-08-19 15:37:00 +02:00
parent 381340c9b2
commit 29ae7f55ef
1 changed files with 0 additions and 10 deletions

View File

@ -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