Controller list functies hernoemd naar overview ivm PHP syntax-fout. Host verwijderd uit api.json

This commit is contained in:
2017-06-23 21:04:26 +02:00
parent 3ef576d848
commit b26103558f
5 changed files with 12 additions and 13 deletions

View File

@@ -15,16 +15,16 @@ $app->get('/', function () use ($app) {
return redirect('docs');
});
$app->get('nieuws/overzicht', 'NewsController@list' );
$app->get('nieuws/overzicht', 'NewsController@overview' );
$app->get('nieuws/bericht/{id:\d+}', 'NewsController@item' );
$app->get('agenda/overzicht[/week]', 'AgendaController@listWeek' );
$app->get('agenda/overzicht/maand', 'AgendaController@listMonth' );
$app->get('agenda/overzicht/alles', 'AgendaController@list' );
$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@list' );
$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' );