diff options
author | Lukas Reschke <lukas@owncloud.com> | 2014-08-19 15:37:00 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2014-08-19 15:37:00 +0200 |
commit | 29ae7f55ef49e02cd9a823ead1882342bddaaef4 (patch) | |
tree | f89908fe4a510b12b024f293f52ca8c0b38d5bc6 /core/routes.php | |
parent | 381340c9b267ee16c2ba4bd461af519ed6c9253c (diff) | |
download | nextcloud-server-29ae7f55ef49e02cd9a823ead1882342bddaaef4.tar.gz nextcloud-server-29ae7f55ef49e02cd9a823ead1882342bddaaef4.zip |
Remove loadAppScriptFile from the default routes
Diffstat (limited to 'core/routes.php')
-rw-r--r-- | core/routes.php | 10 |
1 files changed, 0 insertions, 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 |