Ejemplo n.º 1
0
 /**
  * Display the specified resource.
  * @return \Illuminate\Http\Response
  * @internal param int $id
  */
 public function showAll()
 {
     return Rotulo::all();
 }
Ejemplo n.º 2
0
 /**
  * Show the form for editing the specified resource.
  *
  * @param  int  $id
  * @return Response
  */
 public function edit($id)
 {
     $hospede = Hospede::find($id);
     $rotulos = Rotulo::all();
     return view('hospede.edit', ['user' => $this->usuarioLogado, 'hospede' => $hospede, 'rotulos' => $rotulos]);
 }