Skip to content

Commit 6988b9a

Browse files
committed
Replace overriding twig.paths by twig.default_path
1 parent 6f27e88 commit 6988b9a

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

configuration/override_dir_structure.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ Override the Templates Directory
9494
--------------------------------
9595

9696
If your templates are not stored in the default ``app/Resources/views/``
97-
directory, use the :ref:`twig.paths <config-twig-paths>` configuration option to
97+
directory, use the :ref:`twig.default_path <config-twig-default-path>` configuration option to
9898
define your own templates directory (or directories):
9999

100100
.. configuration-block::

reference/configuration/twig.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,8 @@ on. Set it to ``0`` to disable all the optimizations. You can even enable or
243243
disable these optimizations selectively, as explained in the Twig documentation
244244
about `the optimizer extension`_.
245245

246+
.. _config-twig-default-path:
247+
246248
``default_path``
247249
~~~~~~~~~~~~~~~~
248250

0 commit comments

Comments
 (0)