Search function for news added

This commit is contained in:
2017-10-22 18:13:39 +02:00
parent 33e5d9cd83
commit 8e87a89c8f
10 changed files with 154 additions and 455 deletions

View File

@@ -18,6 +18,7 @@ $app->get('/', function () use ($app) {
$app->get('nieuws/overzicht', 'NewsController@newslist' );
$app->get('nieuws/regio/{region:[a-z0-9-]+}', 'NewsController@regionlist' );
$app->get('nieuws/thema/{theme:[a-z0-9-]+}', 'NewsController@themelist' );
$app->get('nieuws/zoeken/{query}', 'NewsController@findnews' );
$app->get('nieuws/populair', 'NewsController@popularNews' );
$app->get('nieuws/bericht/{id:\d+}', 'NewsController@newsitem' );
$app->get('nieuws/regionieuws', 'PodcastController@latestNews' );