nieuws/overzicht[/aantal/pagina] toegevoegd

This commit is contained in:
2017-06-07 00:06:00 +02:00
parent ebecdcc485
commit ad7e82e01d
6 changed files with 791 additions and 31 deletions

View File

@@ -15,4 +15,4 @@ $app->get('/', function () use ($app) {
return $app->version();
});
$app->get('nieuws/overzicht', 'NewsController@list' );
$app->get('nieuws/overzicht[/{count:\d+}[/{page:\d+}]]', 'NewsController@list' );