Remove loadAppScriptFile from the default routes
This commit is contained in:
parent
381340c9b2
commit
29ae7f55ef
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue