aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/appinfo
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2017-07-24 16:48:17 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2017-08-10 13:49:06 +0200
commit8a539ec0f6dc1650902a9340197d62688164d462 (patch)
tree88f29d4208711ec446afd998a3ec51924c7046d4 /apps/files_sharing/appinfo
parent073216e8278983abef6ac51d6e0a900f95af0024 (diff)
downloadnextcloud-server-8a539ec0f6dc1650902a9340197d62688164d462.tar.gz
nextcloud-server-8a539ec0f6dc1650902a9340197d62688164d462.zip
Move shareinfo over to proper controller
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/files_sharing/appinfo')
-rw-r--r--apps/files_sharing/appinfo/routes.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/apps/files_sharing/appinfo/routes.php b/apps/files_sharing/appinfo/routes.php
index 7a5f5650fc5..104c4167e84 100644
--- a/apps/files_sharing/appinfo/routes.php
+++ b/apps/files_sharing/appinfo/routes.php
@@ -48,6 +48,12 @@ $application->registerRoutes($this, [
'url' => '/ajax/publicpreview.php',
'verb' => 'GET',
],
+
+ [
+ 'name' => 'ShareInfo#info',
+ 'url' => '/shareinfo',
+ 'verb' => 'POST',
+ ],
],
'ocs' => [
/*
@@ -123,5 +129,5 @@ $application->registerRoutes($this, [
]);
/** @var $this \OCP\Route\IRouter */
-$this->create('sharing_external_shareinfo', '/shareinfo')
+$this->create('sharing_external_shareinfo', '/shareinfo3')
->actionInclude('files_sharing/ajax/shareinfo.php');