nextcloud-app-radio/controller/pagecontroller.php

23 lines
468 B
PHP
Raw Permalink Normal View History

2017-02-21 16:57:35 +00:00
<?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');
}
}