public function getFeedsForUser(User $user) { $userIds = $user->following()->lists('followed_id'); $userIds[] = $user->id; return Status::whereIn('user_id', $userIds)->with('comments', 'user')->latest(); }