diff --git a/app/controllers/manager/demandes_controller.rb b/app/controllers/manager/demandes_controller.rb index 932cfd8d6..ffdac506c 100644 --- a/app/controllers/manager/demandes_controller.rb +++ b/app/controllers/manager/demandes_controller.rb @@ -17,7 +17,7 @@ module Manager flash.notice = "Administrateur créé" redirect_to manager_demandes_path else - flash.now.alert = administrateur.errors.full_messages + flash.now.alert = administrateur.errors.full_messages.to_sentence @pending_demandes = pending_demandes render :index end