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