Skip to content

Commit aeffd12

Browse files
committed
bug #3961 Fixing php coding (mvhirsch)
This PR was merged into the 2.3 branch. Discussion ---------- Fixing php coding | Q | A | ------------- | --- | Doc fix? | yes | New docs? | no | Applies to | 2.3+ | Fixed tickets | n/a There is a syntax error in those arrays, so I fixed it. I also added the configuration-block macro as it seems to be missing on that page. Commits ------- 68a8ab1 added block macro f2aad67 fixed small php syntax error
2 parents fba083e + 68a8ab1 commit aeffd12

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cookbook/templating/namespaced_paths.rst

+3-1
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,8 @@ the first template that exists, starting from the first configured path. This
9191
feature can be used as a fallback mechanism to load generic templates when the
9292
specific template doesn't exist.
9393

94+
.. configuration-block::
95+
9496
.. code-block:: yaml
9597
9698
# app/config/config.yml
@@ -124,7 +126,7 @@ specific template doesn't exist.
124126
'%kernel.root_dir%/../vendor/acme/themes/theme1' => 'theme',
125127
'%kernel.root_dir%/../vendor/acme/themes/theme2' => 'theme',
126128
'%kernel.root_dir%/../vendor/acme/themes/common' => 'theme',
127-
);
129+
),
128130
));
129131
130132
Now, you can use the same ``@theme`` namespace to refer to any template located

0 commit comments

Comments
 (0)