Allow to use short URLs for calls
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
34f0ad4ebe
commit
bc11c7ba97
|
@ -82,6 +82,12 @@ $this->create('files.viewcontroller.showFile', '/f/{fileid}')->action(function($
|
||||||
$app->dispatch('ViewController', 'index');
|
$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
|
// Sharing routes
|
||||||
$this->create('files_sharing.sharecontroller.showShare', '/s/{token}')->action(function($urlParams) {
|
$this->create('files_sharing.sharecontroller.showShare', '/s/{token}')->action(function($urlParams) {
|
||||||
$app = new \OCA\Files_Sharing\AppInfo\Application($urlParams);
|
$app = new \OCA\Files_Sharing\AppInfo\Application($urlParams);
|
||||||
|
|
Loading…
Reference in New Issue