Skip to content

Commit bd1c12b

Browse files
committed
updated doc for latest code changes
1 parent 9baf83a commit bd1c12b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

guides/forms/view.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -409,22 +409,23 @@ possible via configuration:
409409
# app/config/config.yml
410410
twig.config:
411411
form:
412-
resources: [BlogBundle::form.twig]
412+
resources: [BlogBundle::form.twig, TwigBundle::form.twig]
413413
414414
.. code-block:: xml
415415
416416
<!-- app/config/config.xml -->
417417
<twig:config>
418418
<twig:form>
419419
<twig:resource>BlogBundle::form.twig</twig:resource>
420+
<twig:resource>TwigBundle::form.twig</twig:resource>
420421
</twig:form>
421422
</twig:config>
422423
423424
.. code-block:: php
424425
425426
// app/config/config.php
426427
$container->loadFromExtension('twig', 'config', array('form' => array(
427-
'resources' => array('BlogBundle::form.twig'),
428+
'resources' => array('BlogBundle::form.twig', 'TwigBundle::form.twig),
428429
)));
429430
430431
Prototyping

0 commit comments

Comments
 (0)