nextcloud-app-radio/appinfo/routes.php

21 lines
474 B
PHP
Raw Normal View History

2016-11-17 22:07:22 +00:00
<?php
/**
* Copyright (c) 2014, Lukas Reschke <lukas@owncloud.com>
* This file is licensed under the Affero General Public License version 3 or later.
* See the COPYING-README file.
*/
/** @var $this \OCP\Route\IRouter */
2017-02-16 12:00:43 +00:00
2016-11-17 22:07:22 +00:00
$this->create('radio_index', '/')
->actionInclude('radio/index.php');
2017-01-08 08:36:13 +00:00
return [
'resources' => [
'station' => ['url' => '/stations'],
],
'routes' => [
['name' => 'page#index', 'url' => '/', 'verb' => 'GET'],
]
];