Skip to content

Commit

Permalink
Merge pull request #291 from Comvation/issue-290-fix-twig-render-cont…
Browse files Browse the repository at this point in the history
…roller-statement

Use proper Twig controller render statement
  • Loading branch information
oallain authored Mar 24, 2023
2 parents c85ffe4 + 9fe44fe commit 812d1b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Resources/views/Crud/import.html.twig
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{ render(controller(
'sylius.controller.import_data:importFormAction',
'sylius.controller.import_data::importFormAction',
{'resource': block.settings.resources.metadata.name}
)) }}
2 changes: 1 addition & 1 deletion src/Resources/views/Taxonomy/import.html.twig
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{{ render(controller('sylius.controller.import_data:importFormAction', {'resource': 'taxonomy'})) }}
{{ render(controller('sylius.controller.import_data::importFormAction', {'resource': 'taxonomy'})) }}

0 comments on commit 812d1b6

Please sign in to comment.