/** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { $areas = Area::getAreasWithWaitingIssues(); return view('index', compact('areas')); }