summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/appinfo/routes.php
diff options
context:
space:
mode:
authorGeorg Ehrke <developer@georgehrke.com>2013-08-19 13:24:07 +0200
committerGeorg Ehrke <developer@georgehrke.com>2013-08-19 13:24:07 +0200
commitd9e8ebabdcd99bade4201d6be82e1841d30c5d65 (patch)
tree75436f33bada80aa42688b478b750399861993e9 /apps/files_sharing/appinfo/routes.php
parent48f0c54261bfa2d2f20864b0d41db8f1df6f1777 (diff)
downloadnextcloud-server-d9e8ebabdcd99bade4201d6be82e1841d30c5d65.tar.gz
nextcloud-server-d9e8ebabdcd99bade4201d6be82e1841d30c5d65.zip
outsource sharing and deleted files previews to apps
Diffstat (limited to 'apps/files_sharing/appinfo/routes.php')
-rw-r--r--apps/files_sharing/appinfo/routes.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/files_sharing/appinfo/routes.php b/apps/files_sharing/appinfo/routes.php
new file mode 100644
index 00000000000..02815b5eb42
--- /dev/null
+++ b/apps/files_sharing/appinfo/routes.php
@@ -0,0 +1,5 @@
+<?php
+$this->create('core_ajax_public_preview', '/publicpreview.png')->action(
+function() {
+ require_once __DIR__ . '/../ajax/publicpreview.php';
+}); \ No newline at end of file