/** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { $stats = Statuses::latest()->get(); return view('admin.status.index')->with('stats', $stats); }