[Pkg-owncloud-commits] [owncloud] 142/215: Fix routes

David Prévot taffit at moszumanska.debian.org
Tue May 5 01:01:39 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch stable8
in repository owncloud.

commit 1b84a1cd481982099482be80fd17445394281239
Author: Lukas Reschke <lukas at owncloud.com>
Date:   Tue Apr 28 14:41:14 2015 +0200

    Fix routes
    
    Fixes public sharing as reported on https://github.com/owncloud/core/issues/15913
---
 core/routes.php | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/core/routes.php b/core/routes.php
index b9af507..1555439 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');
 });
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list