2013-02-09 11:53:54 +00:00
|
|
|
<?php
|
|
|
|
/**
|
2024-06-02 13:26:54 +00:00
|
|
|
* SPDX-FileCopyrightText: 2016 Nextcloud GmbH and Nextcloud contributors
|
|
|
|
* SPDX-FileCopyrightText: 2016 ownCloud, Inc.
|
|
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
2013-02-09 11:53:54 +00:00
|
|
|
*/
|
2015-03-21 19:12:55 +00:00
|
|
|
namespace OCA\Files_Versions\AppInfo;
|
|
|
|
|
2024-10-18 10:04:22 +00:00
|
|
|
use OCP\Route\IRouter;
|
|
|
|
|
|
|
|
/** @var IRouter $this */
|
2020-04-14 16:24:02 +00:00
|
|
|
$this->create('files_versions_download', 'apps/files_versions/download.php')
|
2014-12-02 16:52:31 +00:00
|
|
|
->actionInclude('files_versions/download.php');
|
2020-04-14 16:24:02 +00:00
|
|
|
$this->create('files_versions_ajax_getVersions', 'apps/files_versions/ajax/getVersions.php')
|
2014-08-19 13:25:16 +00:00
|
|
|
->actionInclude('files_versions/ajax/getVersions.php');
|
2020-04-14 16:24:02 +00:00
|
|
|
$this->create('files_versions_ajax_rollbackVersion', 'apps/files_versions/ajax/rollbackVersion.php')
|
2014-08-19 13:25:16 +00:00
|
|
|
->actionInclude('files_versions/ajax/rollbackVersion.php');
|
2024-11-14 10:28:34 +00:00
|
|
|
|
|
|
|
return [
|
|
|
|
'routes' => [
|
|
|
|
[
|
|
|
|
'name' => 'Preview#getPreview',
|
|
|
|
'url' => '/preview',
|
|
|
|
'verb' => 'GET',
|
|
|
|
],
|
|
|
|
],
|
|
|
|
];
|