app/Http/Controllers/CifsController.php
/**
     * Update the specified resource in storage.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  int  $id
     * @return \Illuminate\Http\Response
     */
Update the specified resource in storage.
Update the specified resource in storage .
public function update(Request $request, $id)
    {
        $cifs = Cifs::find($id);
        $cifs->Nombre=$request->Nombre;
        $cifs->Precio=$request->Precio;
        $cifs->Descripcion=$request->Descripcion;
        $cifs->save();
        return redirect()->route('cifs.index');
    }
public function update ( Request $ request , $ id ) { $ cifs = Cifs :: find ( $ id ) ; $ cifs -> Nombre = $ request -> Nombre ; $ cifs -> Precio = $ request -> Precio ; $ cifs -> Descripcion = $ request -> Descripcion ; $ cifs -> save ( ) ; return redirect ( ) -> route ( 'cifs.index' ) ; }
Update the specified resource in storage.
Update the specified resource in storage .
//