summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/public.php
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2014-11-18 14:47:48 +0100
committerMorris Jobke <hey@morrisjobke.de>2014-11-18 18:50:47 +0100
commit5f07fb15dccb40339c326c0294f4d73a1d6e77b6 (patch)
treefaab548462f820e352fc84c2c11142181a8cbaf1 /apps/files_sharing/public.php
parent3b0a7574d6d48eba1e2e047886fe4aa630948005 (diff)
downloadnextcloud-server-5f07fb15dccb40339c326c0294f4d73a1d6e77b6.tar.gz
nextcloud-server-5f07fb15dccb40339c326c0294f4d73a1d6e77b6.zip
Fix case-sensitivity
Diffstat (limited to 'apps/files_sharing/public.php')
-rw-r--r--apps/files_sharing/public.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/public.php b/apps/files_sharing/public.php
index d9b8f0f4f30..d9d14f67c33 100644
--- a/apps/files_sharing/public.php
+++ b/apps/files_sharing/public.php
@@ -12,6 +12,6 @@
$urlGenerator = new \OC\URLGenerator(\OC::$server->getConfig());
$token = isset($_GET['t']) ? $_GET['t'] : '';
-$route = isset($_GET['download']) ? 'files_sharing.sharecontroller.downloadshare' : 'files_sharing.sharecontroller.showshare';
+$route = isset($_GET['download']) ? 'files_sharing.sharecontroller.downloadShare' : 'files_sharing.sharecontroller.showShare';
OC_Response::redirect($urlGenerator->linkToRoute($route, array('token' => $token)));