From 9fe44fe765b9f88bbae14363b1ca3d0a13a5d9aa Mon Sep 17 00:00:00 2001 From: olimination <olimination@gmail.com> Date: Mon, 27 Feb 2023 16:22:35 +0100 Subject: [PATCH] Use proper Twig controller render statement #290 --- src/Resources/views/Crud/import.html.twig | 2 +- src/Resources/views/Taxonomy/import.html.twig | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Resources/views/Crud/import.html.twig b/src/Resources/views/Crud/import.html.twig index 447f3b9a..12bdb082 100644 --- a/src/Resources/views/Crud/import.html.twig +++ b/src/Resources/views/Crud/import.html.twig @@ -1,4 +1,4 @@ {{ render(controller( - 'sylius.controller.import_data:importFormAction', + 'sylius.controller.import_data::importFormAction', {'resource': block.settings.resources.metadata.name} )) }} diff --git a/src/Resources/views/Taxonomy/import.html.twig b/src/Resources/views/Taxonomy/import.html.twig index 40cf7200..9f0852ac 100644 --- a/src/Resources/views/Taxonomy/import.html.twig +++ b/src/Resources/views/Taxonomy/import.html.twig @@ -1 +1 @@ -{{ render(controller('sylius.controller.import_data:importFormAction', {'resource': 'taxonomy'})) }} +{{ render(controller('sylius.controller.import_data::importFormAction', {'resource': 'taxonomy'})) }}