input('rows')) ? $request->input('rows') : 50; $activities = Activity::orderBy('created_at', 'DESC')->company() ->take($default_activities); return $this->listResponse($activities); } }