Plaatjes gefixt en /nieuws/bericht/:id toegevoegd

This commit is contained in:
mischa.spelt committed 2017-06-07 08:27:50 +02:00
1 parent d6a90d8144
commit 3fa2b09eef
5 files changed
+574 -10

No files matched your search

+2 -1
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' );