/** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { $estabelecimentos = \App\Estabelecimento::all(); return View('estabelecimento.index', ['estabelecimentos' => $estabelecimentos]); }