summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/appinfo
diff options
context:
space:
mode:
authorGeorg Ehrke <developer@georgehrke.com>2014-09-21 18:21:42 +0200
committerGeorg Ehrke <developer@georgehrke.com>2014-09-21 18:21:42 +0200
commit9fd23d2edf689f61a1e7464a1e57caaf513a79f3 (patch)
treec42ab0bc5078434fcf9bd72c25cf591ca6562c9a /apps/files_sharing/appinfo
parent69726d951e805e8692907c99b24edbc3099b29d4 (diff)
downloadnextcloud-server-9fd23d2edf689f61a1e7464a1e57caaf513a79f3.tar.gz
nextcloud-server-9fd23d2edf689f61a1e7464a1e57caaf513a79f3.zip
files_sharing: add route for ajax/publicpreview
Diffstat (limited to 'apps/files_sharing/appinfo')
-rw-r--r--apps/files_sharing/appinfo/routes.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/files_sharing/appinfo/routes.php b/apps/files_sharing/appinfo/routes.php
index d5a48025d4a..d58a97e2956 100644
--- a/apps/files_sharing/appinfo/routes.php
+++ b/apps/files_sharing/appinfo/routes.php
@@ -7,6 +7,8 @@ $this->create('core_ajax_public_preview', '/publicpreview')->action(
$this->create('files_sharing_ajax_list', 'ajax/list.php')
->actionInclude('files_sharing/ajax/list.php');
+$this->create('files_sharing_ajax_publicpreview', 'ajax/publicpreview.php')
+ ->actionInclude('files_sharing/ajax/publicpreview.php');
$this->create('sharing_external_shareinfo', '/shareinfo')
->actionInclude('files_sharing/ajax/shareinfo.php');
$this->create('sharing_external_add', '/external')