Exemple #1
0
 /**
  * Validate an user
  *
  * @param  Illuminate\Http\Request $request
  * @param  App\Repositories\UserRepository $user_gestion
  * @param  int  $id
  * @return Response
  */
 public function valid(Request $request, UserRepository $user_gestion, $id)
 {
     $user_gestion->valid($request->input('valid'), $id);
     return response()->json();
 }