Skip to content
Snippets Groups Projects
Commit 520ee969 authored by Lukas Reschke's avatar Lukas Reschke
Browse files

Add routing to files_encryption

parent ad202250
Branches
No related tags found
No related merge requests found
......@@ -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);
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment