public function category() { $cat = Cat::latest('updated_at')->get(); return view('admin.categories', compact('cat')); }