middleware('auth'); } /** * Show the application dashboard. * * @return \Illuminate\Http\Response */ public function index() { $items = \App\User::find(\Auth::id())->items()->get(); return view('home', compact('items')); } }