38 lines
1.4 KiB
PHP
38 lines
1.4 KiB
PHP
<?php
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Application Routes
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| Here is where you can register all of the routes for an application.
|
|
| It is a breeze. Simply tell Lumen the URIs it should respond to
|
|
| and give it the Closure to call when that URI is requested.
|
|
|
|
|
*/
|
|
|
|
$app->get('/', function () use ($app) {
|
|
return redirect('docs');
|
|
});
|
|
|
|
$app->get('nieuws/overzicht', 'NewsController@overview' );
|
|
$app->get('nieuws/bericht/{id:\d+}', 'NewsController@item' );
|
|
|
|
$app->get('agenda/overzicht[/week]', 'AgendaController@overviewWeek' );
|
|
$app->get('agenda/overzicht/maand', 'AgendaController@overviewMonth' );
|
|
$app->get('agenda/overzicht/alles', 'AgendaController@overview' );
|
|
$app->get('agenda/kalender[/{year:\d\d\d\d}/{month:\d\d?}]', 'AgendaController@calendar' );
|
|
$app->get('agenda/details/{id:\d+}', 'AgendaController@item' );
|
|
|
|
$app->get('podcast/overzicht', 'PodcastController@overview' );
|
|
// podcast/programma/1234[?aantal=&pagina=]
|
|
$app->get('podcast/download/{id:\d+}/[{title}]', 'PodcastController@download' );
|
|
$app->get('podcast/stream/{id:\d+}/[{title}]', 'PodcastController@stream' );
|
|
|
|
$app->get('programma/schema/nustraks', 'ProgramController@comingup' );
|
|
$app->get('programma/schema/week[/{shiftWeeks:-?\d+}]', 'ProgramController@schedule' );
|
|
$app->get('/programma/details/{id:\d+}', 'ProgramController@details' );
|
|
|
|
// live/onair
|
|
// live/stream
|