1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-24 08:44:02 +00:00

Update ProfileController

This commit is contained in:
Daniel Supernault 2018-07-23 11:31:06 -06:00
parent fec7ee8505
commit 61fb01aaed

View file

@ -21,7 +21,6 @@ class ProfileController extends Controller
$mimes = [
'application/activity+json',
'application/ld+json',
'application/ld+json; profile="https://www.w3.org/ns/activitystreams"'
];
@ -36,7 +35,7 @@ class ProfileController extends Controller
$timeline = $user->statuses()
->whereHas('media')
->whereNull('in_reply_to_id')
->orderBy('id','desc')
->orderBy('created_at','desc')
->withCount(['comments', 'likes'])
->simplePaginate(21);