diff options
author | Joas Schilling <coding@schilljs.com> | 2017-03-24 13:52:42 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2017-03-24 13:52:42 +0300 |
commit | bc11c7ba97bcfb6115ed374b78cb767a2f328545 (patch) | |
tree | 11075d37d40c5a40bea4f5deef06f0f17b938e09 /core/routes.php | |
parent | 34f0ad4ebef9c492210c482f505b411d8ad6e004 (diff) |
Allow to use short URLs for calls
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'core/routes.php')
-rw-r--r-- | core/routes.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/core/routes.php b/core/routes.php index 5d61d58e037..5243691df47 100644 --- a/core/routes.php +++ b/core/routes.php @@ -82,6 +82,12 @@ $this->create('files.viewcontroller.showFile', '/f/{fileid}')->action(function($ $app->dispatch('ViewController', 'index'); }); +// Call routes +$this->create('spreed.pagecontroller.showCall', '/call/{token}')->action(function($urlParams) { + $app = new \OCA\Spreed\AppInfo\Application($urlParams); + $app->dispatch('PageController', 'index'); +}); + // Sharing routes $this->create('files_sharing.sharecontroller.showShare', '/s/{token}')->action(function($urlParams) { $app = new \OCA\Files_Sharing\AppInfo\Application($urlParams); |