nextcloud-app-radio/controller/pagecontroller.php
2017-02-21 17:57:35 +01:00

23 lines
468 B
PHP

<?php
namespace OCA\Radio\Controller;
use OCP\IRequest;
use OCP\AppFramework\Http\TemplateResponse;
use OCP\AppFramework\Controller;
class PageController extends Controller {
public function __construct($AppName, IRequest $request){
parent::__construct($AppName, $request);
}
/**
* @NoAdminRequired
* @NoCSRFRequired
*/
public function index() {
return new TemplateResponse('radio', 'main');
}
}