[WIP] begin of new display for article, shelves

This commit is contained in:
Ludovic CANDELLIER
2022-06-13 23:29:05 +02:00
parent e31978b1e3
commit b37321daf8
13 changed files with 163 additions and 98 deletions

View File

@@ -13,6 +13,11 @@ class Homepages
return $model ? $model->text : '';
}
public static function getHomepage()
{
return self::get(1)->text;
}
public static function get($id)
{
return Homepage::find($id);