Add routing to files_versions
This commit is contained in:
parent
8524e61fcc
commit
b12af9ea7f
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue