Implement strict Eloquent when developing
This commit is contained in:
parent
5f82c82818
commit
3f4634710c
9 changed files with 19 additions and 15 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue