/** * Handle a confirmation request. * * @param App\Repositories\UserRepository $user_gestion * @param string $confirmation_code * @return Response */ public function getConfirm(UserRepository $user_gestion, $confirmation_code) { $user = $user_gestion->confirm($confirmation_code); return redirect('/')->with('ok', trans('front/verify.success')); }