fix: wrong template rendered for new course task

This commit is contained in:
Julie Lenaerts 2021-10-01 11:32:32 +02:00
parent 43daab1f7b
commit fc237db98a

View File

@ -199,7 +199,7 @@ class SingleTaskController extends AbstractController
));
break;
case 'course':
return $this->render('@ChillTask/SingleTask/AccompanyingCourse/show.html.twig', array(
return $this->render('@ChillTask/SingleTask/AccompanyingCourse/new.html.twig', array(
'form' => $form->createView(),
'task' => $task,
'accompanyingCourse' => $course,