Implement strict Eloquent when developing

This commit is contained in:
Jonny Barnes 2022-11-24 21:44:57 +00:00
parent 5f82c82818
commit 3f4634710c
Signed by: jonny
SSH key fingerprint: SHA256:CTuSlns5U7qlD9jqHvtnVmfYV3Zwl2Z7WnJ4/dqOaL8
9 changed files with 19 additions and 15 deletions

View file

@ -23,7 +23,7 @@ class FrontPageController extends Controller
return (new ActivityStreamsService())->siteOwnerResponse();
}
$notes = Note::latest()->get();
$notes = Note::latest()->with(['media', 'client', 'place'])->get();
$articles = Article::latest()->get();
$bookmarks = Bookmark::latest()->get();
$likes = Like::latest()->get();