/** * Display the specified resource. * * @param int $id * @return \Illuminate\Http\Response */ public function show($id) { $veedor = Veedor::with('persona.telefonos')->with('persona.emails')->with('persona.webpages')->findOrFail($id); $persona = $veedor->persona; $this->webpage['whereAmI'] .= $this->listOneBreadcrumb('detallar ' . $this->modelo, '', 1); $this->webpage['tab_title'] .= ' - ' . $persona->full_name; $this->showData($persona, $veedor, 'veedor'); return view('admin.people.veedores.show', $this->data); }