Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 19550c8

Browse files
committed
Merge pull request #2039 from iamdto/parameters-example
Fixed example parameters with mixed INI and Yaml
2 parents 35da60d + 6396da3 commit 19550c8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cookbook/templating/global_variables.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ Now, the variable ``ga_tracking`` is available in all Twig templates:
2424
It's that easy! You can also take advantage of the built-in :ref:`book-service-container-parameters`
2525
system, which lets you isolate or reuse the value:
2626

27-
.. code-block:: ini
27+
.. code-block:: yaml
2828
29-
; app/config/parameters.yml
30-
[parameters]
29+
# app/config/parameters.yml
30+
parameters:
3131
ga_tracking: UA-xxxxx-x
3232
3333
.. code-block:: yaml

0 commit comments

Comments
 (0)