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

Add routing to files_versions

parent 8524e61f
Branches
No related tags found
No related merge requests found
...@@ -11,5 +11,10 @@ function() { ...@@ -11,5 +11,10 @@ function() {
require_once __DIR__ . '/../ajax/preview.php'; 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 // Register with the capabilities API
OC_API::register('get', '/cloud/capabilities', array('OCA\Files_Versions\Capabilities', 'getCapabilities'), 'files_versions', OC_API::USER_AUTH); OC_API::register('get', '/cloud/capabilities', array('OCA\Files_Versions\Capabilities', 'getCapabilities'), 'files_versions', 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