Update TimelineController

pull/503/head
Daniel Supernault 6 years ago
parent 614b951c5e
commit 679a566466
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7

@ -29,6 +29,7 @@ class TimelineController extends Controller
->pluck('filterable_id');
$timeline = Status::whereIn('profile_id', $following)
->whereNotIn('profile_id', $filtered)
->whereVisibility('public')
->orderBy('created_at', 'desc')
->withCount(['comments', 'likes'])
->simplePaginate(20);

Loading…
Cancel
Save