Update ProfileController

This commit is contained in:
Daniel Supernault 2018-09-08 21:11:52 -06:00
parent f0121d761a
commit 5b5a9d0a3a
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -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);