Beispiel #1
0
 /**
  * Remove the specified resource from storage.
  *
  * @param  int  $id
  * @return Response
  */
 public function destroy($id)
 {
     $rol = \Filas\Models\Roles::find($id);
     $rol->estado = '2';
     $rol->update();
     $rol->delete();
     Session::flash('message-success', 'Rol eliminado correctamente');
     return Redirect::to('/roles');
 }