public function showProducts() { $products = Product::all(); $food = Category::food()->get(); $drinks = Category::drinks()->get(); $other = Category::other()->get(); return view('admin.products', compact('products', 'food', 'drinks', 'other')); }