From 3385cb2ddab707369d2fa8ffd6c8009344059955 Mon Sep 17 00:00:00 2001 From: nobohan Date: Mon, 20 Sep 2021 13:38:49 +0200 Subject: [PATCH] rdv: rename twig view file --- .../ChillCalendarBundle/Controller/CalendarController.php | 2 +- ...anyingCourse.html.twig => newByAccompanyingCourse.html.twig} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename src/Bundle/ChillCalendarBundle/Resources/views/Calendar/{newAccompanyingCourse.html.twig => newByAccompanyingCourse.html.twig} (100%) diff --git a/src/Bundle/ChillCalendarBundle/Controller/CalendarController.php b/src/Bundle/ChillCalendarBundle/Controller/CalendarController.php index e7226b1bd..467c8eed2 100644 --- a/src/Bundle/ChillCalendarBundle/Controller/CalendarController.php +++ b/src/Bundle/ChillCalendarBundle/Controller/CalendarController.php @@ -130,7 +130,7 @@ class CalendarController extends AbstractController [$user, $accompanyingPeriod] = $this->getEntity($request); if ($accompanyingPeriod instanceof AccompanyingPeriod) { - $view = '@ChillCalendar/Calendar/newAccompanyingCourse.html.twig'; + $view = '@ChillCalendar/Calendar/newByAccompanyingCourse.html.twig'; } // elseif ($user instanceof User) { // $view = '@ChillCalendar/Calendar/newUser.html.twig'; diff --git a/src/Bundle/ChillCalendarBundle/Resources/views/Calendar/newAccompanyingCourse.html.twig b/src/Bundle/ChillCalendarBundle/Resources/views/Calendar/newByAccompanyingCourse.html.twig similarity index 100% rename from src/Bundle/ChillCalendarBundle/Resources/views/Calendar/newAccompanyingCourse.html.twig rename to src/Bundle/ChillCalendarBundle/Resources/views/Calendar/newByAccompanyingCourse.html.twig