Remove old doc index page, replace by the generic doc index page

This commit is contained in:
2023-05-25 11:09:26 +02:00
parent e550817ded
commit 2b5d007fda
7 changed files with 9 additions and 103 deletions

View File

@@ -62,9 +62,9 @@ final class MenuBuilder implements LocalMenuBuilderInterface
if ($this->security->isGranted(AccompanyingCourseDocumentVoter::SEE, $course)) {
$menu->addChild($this->translator->trans('Documents'), [
'route' => 'accompanying_course_document_index',
'route' => 'chill_docstore_generic-doc_by-period_index',
'routeParameters' => [
'course' => $course->getId(),
'id' => $course->getId(),
],
])
->setExtras([