where('user_id', Auth::id()) ->whereNotNull('user_id') ->whereHas('classification') ->latest() ->paginate(10); return view('history.history', compact('histories')); } }