FIX [route] adjust to using new route name in redirect

This commit is contained in:
Julie Lenaerts 2023-05-30 14:38:16 +02:00
parent cb718a80de
commit 20489813f0

View File

@ -160,7 +160,7 @@ class DocumentAccompanyingCourseController extends AbstractController
$this->addFlash('success', $this->translator->trans('The document is successfully registered'));
return $this->redirectToRoute('accompanying_course_document_index', ['course' => $course->getId()]);
return $this->redirectToRoute('chill_docstore_generic-doc_by-period_index', ['id' => $course->getId()]);
}
if ($form->isSubmitted() && !$form->isValid()) {