summaryrefslogtreecommitdiffstats
path: root/core/routes.php
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2015-04-28 14:41:14 +0200
committerLukas Reschke <lukas@owncloud.com>2015-04-28 14:41:14 +0200
commit1b84a1cd481982099482be80fd17445394281239 (patch)
tree14a9126f0667c12527901ce35961ed5589a1523b /core/routes.php
parent557b4a2cb0ae0367e5facb1e4be136de07ab8cff (diff)
downloadnextcloud-server-1b84a1cd481982099482be80fd17445394281239.tar.gz
nextcloud-server-1b84a1cd481982099482be80fd17445394281239.zip
Fix routes
Fixes public sharing as reported on https://github.com/owncloud/core/issues/15913
Diffstat (limited to 'core/routes.php')
-rw-r--r--core/routes.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/routes.php b/core/routes.php
index b9af507e486..15554397cc1 100644
--- a/core/routes.php
+++ b/core/routes.php
@@ -109,19 +109,19 @@ $this->create('core_ajax_update', '/core/ajax/update.php')
// Sharing routes
$this->create('files_sharing.sharecontroller.showShare', '/s/{token}')->action(function($urlParams) {
- $app = new \OCA\Files_Sharing\Application($urlParams);
+ $app = new \OCA\Files_Sharing\AppInfo\Application($urlParams);
$app->dispatch('ShareController', 'showShare');
});
$this->create('files_sharing.sharecontroller.authenticate', '/s/{token}/authenticate')->post()->action(function($urlParams) {
- $app = new \OCA\Files_Sharing\Application($urlParams);
+ $app = new \OCA\Files_Sharing\AppInfo\Application($urlParams);
$app->dispatch('ShareController', 'authenticate');
});
$this->create('files_sharing.sharecontroller.showAuthenticate', '/s/{token}/authenticate')->get()->action(function($urlParams) {
- $app = new \OCA\Files_Sharing\Application($urlParams);
+ $app = new \OCA\Files_Sharing\AppInfo\Application($urlParams);
$app->dispatch('ShareController', 'showAuthenticate');
});
$this->create('files_sharing.sharecontroller.downloadShare', '/s/{token}/download')->get()->action(function($urlParams) {
- $app = new \OCA\Files_Sharing\Application($urlParams);
+ $app = new \OCA\Files_Sharing\AppInfo\Application($urlParams);
$app->dispatch('ShareController', 'downloadShare');
});