Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit aa428fe

Browse files
committed
merged branch vicb/hinclude/global_template (PR #7119)
This PR was merged into the 2.2 branch. Commits ------- 171cff0 [FrameworkBundle] Fix a BC for Hinclude global template Discussion ---------- [FrameworkBundle] Fix a BC break for Hinclude global template @fabpot should the one who broke BC write a UT for this ? (I won't have time in the next few days).
2 parents 60a261f + 171cff0 commit aa428fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ private function registerTemplatingConfiguration(array $config, $ide, ContainerB
365365

366366
$container->setParameter('templating.helper.code.file_link_format', isset($links[$ide]) ? $links[$ide] : $ide);
367367
$container->setParameter('templating.helper.form.resources', $config['form']['resources']);
368-
$container->setParameter('templating.hinclude.default_template', $config['hinclude_default_template']);
368+
$container->setParameter('fragment.renderer.hinclude.global_template', $config['hinclude_default_template']);
369369

370370
if ($container->getParameter('kernel.debug')) {
371371
$loader->load('templating_debug.xml');

0 commit comments

Comments
 (0)