aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_encryption/appinfo/routes.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_encryption/appinfo/routes.php')
-rw-r--r--apps/files_encryption/appinfo/routes.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/files_encryption/appinfo/routes.php b/apps/files_encryption/appinfo/routes.php
new file mode 100644
index 00000000000..ab83432a4b2
--- /dev/null
+++ b/apps/files_encryption/appinfo/routes.php
@@ -0,0 +1,9 @@
+<?php
+/**
+ * Copyright (c) 2013, Tom Needham <tom@owncloud.com>
+ * This file is licensed under the Affero General Public License version 3 or later.
+ * See the COPYING-README file.
+ */
+
+// Register with the capabilities API
+OC_API::register('get', '/cloud/capabilities', array('OCA\Encryption\Capabilities', 'getCapabilities'), 'files_encryption', OC_API::USER_AUTH); \ No newline at end of file