From fc237db98aa404934e7cd1e4a8f80c046d652471 Mon Sep 17 00:00:00 2001 From: Julie Lenaerts Date: Fri, 1 Oct 2021 11:32:32 +0200 Subject: [PATCH] fix: wrong template rendered for new course task --- src/Bundle/ChillTaskBundle/Controller/SingleTaskController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Bundle/ChillTaskBundle/Controller/SingleTaskController.php b/src/Bundle/ChillTaskBundle/Controller/SingleTaskController.php index 76f12acda..be39f4900 100644 --- a/src/Bundle/ChillTaskBundle/Controller/SingleTaskController.php +++ b/src/Bundle/ChillTaskBundle/Controller/SingleTaskController.php @@ -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,