Skip to content

Commit 4638e20

Browse files
authored
Merge pull request #268 from symfony-cmf/Inventis-change-to-new-template-notation
change to new template notation
2 parents fcb37fa + fc09e9e commit 4638e20

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
Changelog
22
=========
33

4+
2.1.1
5+
-----
6+
7+
* Fixed another template reference to work with Symfony 4.
8+
49
2.1.0
510
-----
611

src/DependencyInjection/CmfCoreExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ public function setupFormTypes(ContainerBuilder $container, LoaderInterface $loa
295295
// if there is twig, register our form type with twig
296296
if ($container->hasParameter('twig.form.resources')) {
297297
$resources = $container->getParameter('twig.form.resources');
298-
$container->setParameter('twig.form.resources', array_merge($resources, ['CmfCoreBundle:Form:checkbox_url_label_form_type.html.twig']));
298+
$container->setParameter('twig.form.resources', array_merge($resources, ['@CmfCore/Form/checkbox_url_label_form_type.html.twig']));
299299
}
300300
}
301301
}

0 commit comments

Comments
 (0)