/** * Show the application dashboard to the user. * * @return Response */ public function index() { //return view('home'); $sala = Sala::with('periodos')->get(); dd($sala); }