Skip to content

Commit 9e1c5cc

Browse files
committed
Merge branch '4.4'
* 4.4: Minor fixes for the new Routing article
2 parents 9318d9a + 95f4b91 commit 9e1c5cc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

routing.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1928,8 +1928,8 @@ provides some functions to generate both relative and absolute URLs:
19281928
Generating URLs in JavaScript
19291929
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
19301930

1931-
If your JavaScript code is included in a Twig template, you can use the same
1932-
``path()`` and ``url()`` functions to generate the URLs and store them in
1931+
If your JavaScript code is included in a Twig template, you can use the
1932+
``path()`` and ``url()`` Twig functions to generate the URLs and store them in
19331933
JavaScript variables. The ``escape()`` function is needed to escape any
19341934
non-JavaScript-safe values:
19351935

@@ -2095,7 +2095,7 @@ method) or globally with these configuration parameters:
20952095
$container->setParameter('asset.request_context.secure', true);
20962096
20972097
Outside of console commands, use the ``schemes`` option to define the scheme of
2098-
each route explicitly::
2098+
each route explicitly:
20992099

21002100
.. configuration-block::
21012101

0 commit comments

Comments
 (0)