From bc11c7ba97bcfb6115ed374b78cb767a2f328545 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Fri, 24 Mar 2017 11:52:42 +0100 Subject: [PATCH] Allow to use short URLs for calls Signed-off-by: Joas Schilling --- core/routes.php | 6 ++++++ 1 file changed, 6 insertions(+) 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); -- 2.39.5