diff options
author | Lukas Reschke <lukas@owncloud.com> | 2014-08-19 15:25:16 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2014-08-19 15:25:16 +0200 |
commit | b12af9ea7f10454106d77e233b4e2da003754796 (patch) | |
tree | 5652f83913adf31b65b1fbcbc4358b76d9968cb1 /apps/files_versions | |
parent | 8524e61fccbeb3f56fb3f444521ff6ba4255df94 (diff) | |
download | nextcloud-server-b12af9ea7f10454106d77e233b4e2da003754796.tar.gz nextcloud-server-b12af9ea7f10454106d77e233b4e2da003754796.zip |
Add routing to files_versions
Diffstat (limited to 'apps/files_versions')
-rw-r--r-- | apps/files_versions/appinfo/routes.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/files_versions/appinfo/routes.php b/apps/files_versions/appinfo/routes.php index b9bb00dae55..057834213e4 100644 --- a/apps/files_versions/appinfo/routes.php +++ b/apps/files_versions/appinfo/routes.php @@ -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); |