Website Summary Files Commits Branches @commit @diff @stats
path: root / views / home / index.php
diff options
context:
space:
mode:
Commitfaabc462d3080cac67687f450135a078731fb3d1 (patch)
Author
 Syndamia <kamen@syndamia.com>
2025-02-01 10:02:14 +0200
Committer
 Syndamia <kamen@syndamia.com>
2025-02-01 10:28:22 +0200
Filesb0d050b510386c3abcc48852bda16480b7c27e8e /views/home/index.php
nowayforward_human-faabc462d3080cac67687f450135a078731fb3d1.tar
nowayforward_human-faabc462d3080cac67687f450135a078731fb3d1.tar.gz
nowayforward_human-faabc462d3080cac67687f450135a078731fb3d1.zip
Parent5a0d4f4a00c9162fbf773ca6b73d34354c6650fe (diff)
feat: Rework models methods to be more object-oriented where applicable
1 files changed, 1 insertions, 1 deletions
-rw-r--r--views/home/index.php2
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>