Add routing to files_versions

This commit is contained in:
Lukas Reschke 2014-08-19 15:25:16 +02:00
parent 8524e61fcc
commit b12af9ea7f
1 changed files with 5 additions and 0 deletions

View File

@ -11,5 +11,10 @@ function() {
require_once __DIR__ . '/../ajax/preview.php';
});
$this->create('files_versions_ajax_getVersions', 'ajax/getVersions.php')
->actionInclude('files_versions/ajax/getVersions.php');
$this->create('files_versions_ajax_rollbackVersion', 'ajax/rollbackVersion.php')
->actionInclude('files_versions/ajax/rollbackVersion.php');
// Register with the capabilities API
OC_API::register('get', '/cloud/capabilities', array('OCA\Files_Versions\Capabilities', 'getCapabilities'), 'files_versions', OC_API::USER_AUTH);