0
0
Fork 0
mirror of https://github.com/nextcloud/server.git synced 2025-01-28 13:50:37 +00:00
nextcloud_server/apps/files_versions/appinfo/routes.php

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
824 B
PHP
Raw Normal View History

<?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;
use OCP\Route\IRouter;
/** @var IRouter $this */
$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')
2014-08-19 13:25:16 +00:00
->actionInclude('files_versions/ajax/getVersions.php');
$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');
return [
'routes' => [
[
'name' => 'Preview#getPreview',
'url' => '/preview',
'verb' => 'GET',
],
],
];