middleware('auth'); } /** * Show the application dashboard. * * @return \Illuminate\Http\Response */ public function index() { $tables = \Auth::user()->tables()->paginate(10); return view('home')->with(compact('tables')); } }