From 8af32361878f4e6c46da415e9036fa418dab9836 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Poirier=20Th=C3=A9or=C3=AAt?= Date: Thu, 25 Apr 2024 09:44:02 -0400 Subject: [PATCH] [SonataExtraBundle] configure url template --- .../DependencyInjection/DrawSonataExtraExtension.php | 1 + .../Tests/DependencyInjection/DrawSonataExtraExtensionTest.php | 1 + 2 files changed, 2 insertions(+) diff --git a/packages/sonata-extra-bundle/DependencyInjection/DrawSonataExtraExtension.php b/packages/sonata-extra-bundle/DependencyInjection/DrawSonataExtraExtension.php index 1528ef78..d56e5ddd 100644 --- a/packages/sonata-extra-bundle/DependencyInjection/DrawSonataExtraExtension.php +++ b/packages/sonata-extra-bundle/DependencyInjection/DrawSonataExtraExtension.php @@ -171,6 +171,7 @@ public function prepend(ContainerBuilder $container): void 'json' => '@DrawSonataExtra/CRUD/show_json.html.twig', 'list' => '@DrawSonataExtra/CRUD/show_list.html.twig', 'static' => '@DrawSonataExtra/CRUD/show_static.html.twig', + 'url' => '@DrawSonataExtra/CRUD/show_url.html.twig', ], 'list' => [ 'list' => '@DrawSonataExtra/CRUD/list_list.html.twig', diff --git a/packages/sonata-extra-bundle/Tests/DependencyInjection/DrawSonataExtraExtensionTest.php b/packages/sonata-extra-bundle/Tests/DependencyInjection/DrawSonataExtraExtensionTest.php index 06e8480f..f1377b64 100644 --- a/packages/sonata-extra-bundle/Tests/DependencyInjection/DrawSonataExtraExtensionTest.php +++ b/packages/sonata-extra-bundle/Tests/DependencyInjection/DrawSonataExtraExtensionTest.php @@ -96,6 +96,7 @@ public function testPrepend(): void 'json' => '@DrawSonataExtra/CRUD/show_json.html.twig', 'list' => '@DrawSonataExtra/CRUD/show_list.html.twig', 'static' => '@DrawSonataExtra/CRUD/show_static.html.twig', + 'url' => '@DrawSonataExtra/CRUD/show_url.html.twig', ], 'list' => [ 'list' => '@DrawSonataExtra/CRUD/list_list.html.twig',