summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2014-08-19 15:23:45 +0200
committerLukas Reschke <lukas@owncloud.com>2014-08-19 15:23:45 +0200
commit520ee969f2b8e0e1a17d6a985106f568459421c9 (patch)
treea7d4e6d3f2f8c90c62ea0b952809ec0824633b8e /apps
parentad202250a8f30486b0694f9d2660d33b2453521c (diff)
downloadnextcloud-server-520ee969f2b8e0e1a17d6a985106f568459421c9.tar.gz
nextcloud-server-520ee969f2b8e0e1a17d6a985106f568459421c9.zip
Add routing to files_encryption
Diffstat (limited to 'apps')
-rw-r--r--apps/files_encryption/appinfo/routes.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/apps/files_encryption/appinfo/routes.php b/apps/files_encryption/appinfo/routes.php
index 07ff920a60d..97635ae1236 100644
--- a/apps/files_encryption/appinfo/routes.php
+++ b/apps/files_encryption/appinfo/routes.php
@@ -5,5 +5,18 @@
* See the COPYING-README file.
*/
+/** @var $this \OCP\Route\IRouter */
+
+$this->create('files_encryption_ajax_adminrecovery', 'ajax/adminrecovery.php')
+ ->actionInclude('files_encryption/ajax/adminrecovery.php');
+$this->create('files_encryption_ajax_changeRecoveryPassword', 'ajax/changeRecoveryPassword.php')
+ ->actionInclude('files_encryption/ajax/changeRecoveryPassword.php');
+$this->create('files_encryption_ajax_getMigrationStatus', 'ajax/getMigrationStatus.php')
+ ->actionInclude('files_encryption/ajax/getMigrationStatus.php');
+$this->create('files_encryption_ajax_updatePrivateKeyPassword', 'ajax/updatePrivateKeyPassword.php')
+ ->actionInclude('files_encryption/ajax/updatePrivateKeyPassword.php');
+$this->create('files_encryption_ajax_userrecovery', 'ajax/userrecovery.php')
+ ->actionInclude('files_encryption/ajax/userrecovery.php');
+
// Register with the capabilities API
OC_API::register('get', '/cloud/capabilities', array('OCA\Encryption\Capabilities', 'getCapabilities'), 'files_encryption', OC_API::USER_AUTH);