Run Laravel Pint on codebase
This commit is contained in:
parent
92098a793e
commit
81e19fec1d
1 changed files with 6 additions and 6 deletions
|
@ -23,12 +23,12 @@ class FrontPageController extends Controller
|
||||||
$notes = Note::latest()->with(['media', 'client', 'place'])->withCount(['webmentions AS replies' => function ($query) {
|
$notes = Note::latest()->with(['media', 'client', 'place'])->withCount(['webmentions AS replies' => function ($query) {
|
||||||
$query->where('type', 'in-reply-to');
|
$query->where('type', 'in-reply-to');
|
||||||
}])
|
}])
|
||||||
->withCount(['webmentions AS likes' => function ($query) {
|
->withCount(['webmentions AS likes' => function ($query) {
|
||||||
$query->where('type', 'like-of');
|
$query->where('type', 'like-of');
|
||||||
}])
|
}])
|
||||||
->withCount(['webmentions AS reposts' => function ($query) {
|
->withCount(['webmentions AS reposts' => function ($query) {
|
||||||
$query->where('type', 'repost-of');
|
$query->where('type', 'repost-of');
|
||||||
}])->get();
|
}])->get();
|
||||||
$articles = Article::latest()->get();
|
$articles = Article::latest()->get();
|
||||||
$bookmarks = Bookmark::latest()->with('tags')->get();
|
$bookmarks = Bookmark::latest()->with('tags')->get();
|
||||||
$likes = Like::latest()->get();
|
$likes = Like::latest()->get();
|
||||||
|
|
Loading…
Add table
Reference in a new issue