Skip to content
This repository was archived by the owner on Oct 15, 2025. It is now read-only.

Commit 147eae3

Browse files
committed
refactor(admin): Correct extension of HTML twig template
i.e. ".twig" to ".html.twig"
1 parent ea2af92 commit 147eae3

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

src/Controller/Admin/EmailTemplateController.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public function index(): Response
3434
$templateFiles
3535
);
3636

37-
return $this->render('admin/email_template/index.twig', [
37+
return $this->render('admin/email_template/index.html.twig', [
3838
'templates' => $templateFiles,
3939
]);
4040
}
@@ -57,7 +57,7 @@ public function details(string $name, Request $request): Response
5757
$error = $e->getMessage();
5858
}
5959

60-
return $this->render('admin/email_template/details.twig', [
60+
return $this->render('admin/email_template/details.html.twig', [
6161
'name' => $name,
6262
'parameters' => $parameters,
6363
'content' => $content,
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)