Exemplo n.º 1
0
 /**
  * Remove the specified resource from storage.
  *
  * @param  int  $id
  * @return Response
  */
 public function delete()
 {
     $delete = Utilisateur::where('id', '=', Auth::user()->id)->update(['active' => 0]);
     Auth::logout();
     return redirect('connexion');
 }