Add routing to files_versions

This commit is contained in:
Lukas Reschke 2014-08-19 15:25:16 +02:00
parent 8524e61fcc
commit b12af9ea7f

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);