Fix duplicate route

This commit was merged in pull request #8.
This commit is contained in:
NH Gooi authored and mischa.spelt committed 2024-09-12 15:48:21 +02:00
1 parent ba06608ee0
commit a3e8b05008
2 files changed
+2 -2

No files matched your search

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