$userId = Auth::user()->id;
$info = User::where('id',$userId)->with(['favorites'])->get();
return view('users.favorite',compact('info'));
$userId = Auth::user()->id;
$info = User::where('id',$userId)->with(['favorites'])->get();
return view('users.favorite',compact('info'));