File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1928,8 +1928,8 @@ provides some functions to generate both relative and absolute URLs:
1928
1928
Generating URLs in JavaScript
1929
1929
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1930
1930
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
1933
1933
JavaScript variables. The ``escape() `` function is needed to escape any
1934
1934
non-JavaScript-safe values:
1935
1935
@@ -2095,7 +2095,7 @@ method) or globally with these configuration parameters:
2095
2095
$container->setParameter('asset.request_context.secure', true);
2096
2096
2097
2097
Outside of console commands, use the ``schemes `` option to define the scheme of
2098
- each route explicitly::
2098
+ each route explicitly:
2099
2099
2100
2100
.. configuration-block ::
2101
2101
You can’t perform that action at this time.
0 commit comments