aboutsummaryrefslogtreecommitdiff
path: root/views/home
diff options
context:
space:
mode:
authorSyndamia <kamen@syndamia.com>2025-02-01 10:02:14 +0200
committerSyndamia <kamen@syndamia.com>2025-02-01 10:28:22 +0200
commitfaabc462d3080cac67687f450135a078731fb3d1 (patch)
treeb0d050b510386c3abcc48852bda16480b7c27e8e /views/home
parent5a0d4f4a00c9162fbf773ca6b73d34354c6650fe (diff)
downloadnowayforward_human-faabc462d3080cac67687f450135a078731fb3d1.tar
nowayforward_human-faabc462d3080cac67687f450135a078731fb3d1.tar.gz
nowayforward_human-faabc462d3080cac67687f450135a078731fb3d1.zip
feat: Rework models methods to be more object-oriented where applicable
Diffstat (limited to 'views/home')
-rw-r--r--views/home/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/home/index.php b/views/home/index.php
index abc872b..e14e23a 100644
--- a/views/home/index.php
+++ b/views/home/index.php
@@ -11,7 +11,7 @@
<h1>Most popular archives</h1>
-<?php foreach(Database\Webpage::mostVisited(10) as $page): ?>
+<?php foreach(Database\Webpage::fromDBmostVisited(10) as $page): ?>
<section class="card" onclick="goto_archive('<?= $page->URL ?>')">
<section class="quickinfo">
<a href="<?= $page->URL ?>"><?= $page->URL ?></a>