Plaatjes gefixt en /nieuws/bericht/:id toegevoegd

This commit is contained in:
2017-06-07 08:27:50 +02:00
parent d6a90d8144
commit 3fa2b09eef
5 changed files with 574 additions and 10 deletions

View File

@@ -12,7 +12,8 @@
*/
$app->get('/', function () use ($app) {
return $app->version();
return redirect('docs');
});
$app->get('nieuws/overzicht[/{count:\d+}[/{page:\d+}]]', 'NewsController@list' );
$app->get('nieuws/bericht/{id:\d+}', 'NewsController@item' );