From be4b8a94f050562aca0ce1037fa3edc66e344b46 Mon Sep 17 00:00:00 2001 From: Mathieu Jaumotte Date: Fri, 7 Jan 2022 12:35:01 +0100 Subject: [PATCH] AccompanyingCourse comments: move and rename files --- .../Controller/AccompanyingCourseCommentController.php | 4 ++-- .../confirm_delete.html.twig} | 0 .../{comment_list.html.twig => Comment/index.html.twig} | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourse/{confirm_delete_comment.html.twig => Comment/confirm_delete.html.twig} (100%) rename src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourse/{comment_list.html.twig => Comment/index.html.twig} (100%) diff --git a/src/Bundle/ChillPersonBundle/Controller/AccompanyingCourseCommentController.php b/src/Bundle/ChillPersonBundle/Controller/AccompanyingCourseCommentController.php index c0481c854..06f0aa2b0 100644 --- a/src/Bundle/ChillPersonBundle/Controller/AccompanyingCourseCommentController.php +++ b/src/Bundle/ChillPersonBundle/Controller/AccompanyingCourseCommentController.php @@ -84,7 +84,7 @@ class AccompanyingCourseCommentController extends AbstractController ]); } - return $this->render('@ChillPerson/AccompanyingCourse/comment_list.html.twig', [ + return $this->render('@ChillPerson/AccompanyingCourse/Comment/index.html.twig', [ 'accompanyingCourse' => $accompanyingCourse, 'form' => $form->createView(), 'edit_form' => null !== $editForm ? $editForm->createView() : null, @@ -119,7 +119,7 @@ class AccompanyingCourseCommentController extends AbstractController // { // $form = $this->createDeleteForm($comment->getId(), $accompanyingCourse); // -// return $this->render('@ChillPerson/AccompanyingCourse/confirm_delete_comment.html.twig', [ +// return $this->render('@ChillPerson/AccompanyingCourse/Comment/confirm_delete.html.twig', [ // 'comment' => $comment, // 'delete_form' => $form->createView(), // 'accompanyingCourse' => $accompanyingCourse, diff --git a/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourse/confirm_delete_comment.html.twig b/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourse/Comment/confirm_delete.html.twig similarity index 100% rename from src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourse/confirm_delete_comment.html.twig rename to src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourse/Comment/confirm_delete.html.twig diff --git a/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourse/comment_list.html.twig b/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourse/Comment/index.html.twig similarity index 100% rename from src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourse/comment_list.html.twig rename to src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourse/Comment/index.html.twig