mirror of
https://github.com/nextcloud/server.git
synced 2025-02-07 09:59:46 +00:00
afa48a4e0e
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
27 lines
934 B
PHP
27 lines
934 B
PHP
<?php
|
|
/**
|
|
* SPDX-FileCopyrightText: 2016 Nextcloud GmbH and Nextcloud contributors
|
|
* SPDX-FileCopyrightText: 2016 ownCloud, Inc.
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
|
*/
|
|
namespace OCA\Files_Versions\AppInfo;
|
|
|
|
/** @var Application $application */
|
|
$application = \OC::$server->query(Application::class);
|
|
$application->registerRoutes($this, [
|
|
'routes' => [
|
|
[
|
|
'name' => 'Preview#getPreview',
|
|
'url' => '/preview',
|
|
'verb' => 'GET',
|
|
],
|
|
],
|
|
]);
|
|
|
|
/** @var $this \OCP\Route\IRouter */
|
|
$this->create('files_versions_download', 'apps/files_versions/download.php')
|
|
->actionInclude('files_versions/download.php');
|
|
$this->create('files_versions_ajax_getVersions', 'apps/files_versions/ajax/getVersions.php')
|
|
->actionInclude('files_versions/ajax/getVersions.php');
|
|
$this->create('files_versions_ajax_rollbackVersion', 'apps/files_versions/ajax/rollbackVersion.php')
|
|
->actionInclude('files_versions/ajax/rollbackVersion.php');
|