public function detalle($id) { $detalle = Catalogo::find($id); return view('detalle', compact('detalle')); }