summaryrefslogtreecommitdiffstats
path: root/apps/files/appinfo/routes.php
diff options
context:
space:
mode:
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');
+