Skip to content
This repository has been archived by the owner on Aug 14, 2019. It is now read-only.

Commit

Permalink
Fix FormPass on using namespaced syntax (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
aivus committed Jan 14, 2018
1 parent 706202c commit 72aa24a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DependencyInjection/Compiler/FormPass.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public function process(ContainerBuilder $container)
$resources = $container->getParameter('twig.form.resources');

foreach (array('div', 'jquery', 'stylesheet') as $template) {
$resources[] = 'SHFormBundle:Form:' . $template . '_layout.html.twig';
$resources[] = '@SHForm/Form/' . $template . '_layout.html.twig';
}

$container->setParameter('twig.form.resources', $resources);
Expand Down

0 comments on commit 72aa24a

Please sign in to comment.