mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-06 14:54:57 +00:00
apply rector rules: symfony **UP TO** 44
This commit is contained in:
@@ -36,7 +36,7 @@ class AbsenceController extends AbstractController
|
||||
$em = $this->getDoctrine()->getManager();
|
||||
$em->flush();
|
||||
|
||||
return $this->redirect($this->generateUrl('chill_main_user_absence_index'));
|
||||
return $this->redirectToRoute('chill_main_user_absence_index');
|
||||
}
|
||||
|
||||
return $this->render('@ChillMain/Menu/absence.html.twig', [
|
||||
@@ -60,6 +60,6 @@ class AbsenceController extends AbstractController
|
||||
$em = $this->getDoctrine()->getManager();
|
||||
$em->flush();
|
||||
|
||||
return $this->redirect($this->generateUrl('chill_main_user_absence_index'));
|
||||
return $this->redirectToRoute('chill_main_user_absence_index');
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user