Fix duplicate route

This commit is contained in:
NH Gooi
2024-09-12 15:47:20 +02:00
parent 8da0481296
commit 389e5c6523
2 changed files with 2 additions and 2 deletions

View File

@@ -14,7 +14,7 @@ class HomeController extends Controller
$news = [];
foreach ($apiResult->news as $newsItem) {
$news[] = new \Model\NewsItem($newsItem);
}
}
$populair = [];
$apiResult = $this->API('nieuws/populair?pagina=' . (int)max(1, $page) . '&aantal=5');