8000 [DependencyInjection] allowed to disabled the helpers in the templati… · Dahipster/symfony@dd759bd · GitHub
[go: up one dir, main page]

8000
Skip to content

Commit dd759bd

Browse files
committed
[DependencyInjection] allowed to disabled the helpers in the templating extension
1 parent ce6f676 commit dd759bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Components/DependencyInjection/Loader/Extension/SymfonyTemplatingExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public function templatingLoad($config)
8585
}
8686
else
8787
{
88-
$helpers = array(
88+
$helpers = null === $config['helper'] ? array() : array(
8989
new Reference('symfony.templating.helper.javascripts'),
9090
new Reference('symfony.templating.helper.stylesheets'),
9191
);

0 commit comments

Comments
 (0)
0