summaryrefslogtreecommitdiffstats
path: root/apps/files/appinfo/routes.php
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2012-09-28 22:19:37 +0200
committerBart Visscher <bartv@thisnet.nl>2012-09-28 22:20:17 +0200
commitdbdf3bde7ccf721cfc1efa4d13262bd6f444de73 (patch)
tree34ab13505a5a5bb83570e0c113817977d95c5c5d /apps/files/appinfo/routes.php
parentc9317b5a68baac268e8b24a462065a5e9e3164e7 (diff)
downloadnextcloud-server-dbdf3bde7ccf721cfc1efa4d13262bd6f444de73.tar.gz
nextcloud-server-dbdf3bde7ccf721cfc1efa4d13262bd6f444de73.zip
Implement route for download in OC_Search_Provider_File
Diffstat (limited to 'apps/files/appinfo/routes.php')
-rw-r--r--apps/files/appinfo/routes.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/apps/files/appinfo/routes.php b/apps/files/appinfo/routes.php
new file mode 100644
index 00000000000..e1ab560803d
--- /dev/null
+++ b/apps/files/appinfo/routes.php
@@ -0,0 +1,12 @@
+<?php
+/**
+ * Copyright (c) 2012 Bart Visscher <bartv@thisnet.nl>
+ * This file is licensed under the Affero General Public License version 3 or
+ * later.
+ * See the COPYING-README file.
+ */
+
+$this->create('download', 'download{file}')
+ ->requirements(array('file' => '.*'))
+ ->actionInclude('files/download.php');
+