paginate(20)); } public function asController(ActionRequest $request): Response { return Inertia::render('activity/Index', [ 'data' => $this->handle(), ]); } }