summaryrefslogtreecommitdiffstats
path: root/apps/files/appinfo/routes.php
blob: f3d8e9a4f4d3483a30b5cb697e1fdf48d41ac1a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<?php
/**
 * Copyright (c) 2012 Bart Visscher <bartv@thisnet.nl>
 * This file is licensed under the Affero General Public License version 3 or
 * later.
 * See the COPYING-README file.
 */

$this->create('download', 'download{file}')
	->requirements(array('file' => '.*'))
	->actionInclude('files/download.php');
	
// Register with the capabilities API
OC_API::register('get', '/cloud/capabilities', array('OCA\Files\Capabilities', 'getCapabilities'), 'files', OC_API::USER_AUTH);