Update ProfileController

pull/452/head
Daniel Supernault 7 years ago
parent f0121d761a
commit 5b5a9d0a3a
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7

@ -62,6 +62,7 @@ class ProfileController extends Controller
->whereHas('media')
->whereNull('in_reply_to_id')
->whereNull('reblog_of_id')
->whereIn('visibility', ['public', 'unlisted'])
->orderBy('created_at', 'desc')
->withCount(['comments', 'likes'])
->simplePaginate(21);

Loading…
Cancel
Save