summaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin/appinfo/routes.php
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2013-08-31 03:41:29 -0700
committerThomas Müller <thomas.mueller@tmit.eu>2013-08-31 03:41:29 -0700
commit92e90c8eb995c886b3e9cd77c14e3f0b25b95cd7 (patch)
treeed757086fcf6d761a615eb7bbbf24ebc06407310 /apps/files_trashbin/appinfo/routes.php
parent0f5df181a3b1f88075193fca0bed88f289314c8e (diff)
parent668c4c2652ef4619a132d609461423aafaef424e (diff)
downloadnextcloud-server-92e90c8eb995c886b3e9cd77c14e3f0b25b95cd7.tar.gz
nextcloud-server-92e90c8eb995c886b3e9cd77c14e3f0b25b95cd7.zip
Merge pull request #4022 from owncloud/oc_preview
\OC\Preview
Diffstat (limited to 'apps/files_trashbin/appinfo/routes.php')
-rw-r--r--apps/files_trashbin/appinfo/routes.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/files_trashbin/appinfo/routes.php b/apps/files_trashbin/appinfo/routes.php
new file mode 100644
index 00000000000..b1c3f02741e
--- /dev/null
+++ b/apps/files_trashbin/appinfo/routes.php
@@ -0,0 +1,5 @@
+<?php
+$this->create('core_ajax_trashbin_preview', '/preview.png')->action(
+function() {
+ require_once __DIR__ . '/../ajax/preview.php';
+}); \ No newline at end of file