Skip to content

Commit

Permalink
merged branch jfsimon/issue-7375 (PR symfony#7394)
Browse files Browse the repository at this point in the history
This PR was merged into the master branch.

Commits
-------

6021873 [TwigBundle] fixed wrong rebase in symfony#7373

Discussion
----------

[TwigBundle] fixed wrong rebase in symfony#7375

When rebasing on master, `twig.loader` has not been renamed to `twig.loader.filesystem`.

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | symfony#7375

---------------------------------------------------------------------------

by stof at 2013-03-15T16:48:44Z

:+1:
  • Loading branch information
fabpot committed Mar 16, 2013
2 parents 5ae0c82 + 6021873 commit 3a11efe
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public function process(ContainerBuilder $container)
if ($container->has('form.extension')) {
$container->getDefinition('twig.extension.form')->addTag('twig.extension');
$reflClass = new \ReflectionClass('Symfony\Bridge\Twig\Extension\FormExtension');
$container->getDefinition('twig.loader')->addMethodCall('addPath', array(dirname(dirname($reflClass->getFileName())).'/Resources/views/Form'));
$container->getDefinition('twig.loader.filesystem')->addMethodCall('addPath', array(dirname(dirname($reflClass->getFileName())).'/Resources/views/Form'));
}

if ($container->has('translator')) {
Expand Down

0 comments on commit 3a11efe

Please sign in to comment.