Skip to content

Commit 12cd62e

Browse files
cordovalweaverryan
authored andcommitted
fix namespaced paths vendor folder path
1 parent 6254bfc commit 12cd62e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cookbook/templating/namespaced_paths.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Registering your own namespaces
3838

3939
You can also register your own custom namespaces. Suppose that you're using
4040
some third-party library that includes Twig templates that live in
41-
``vendor/acme/foo-project/templates``. First, register a namespace for this
41+
``vendor/acme/foo-bar/templates``. First, register a namespace for this
4242
directory:
4343

4444
.. configuration-block::
@@ -75,7 +75,7 @@ directory:
7575
));
7676
7777
The registered namespace is called ``foo_bar``, which refers to the
78-
``vendor/acme/foo-project/templates`` directory. Assuming there's a file
78+
``vendor/acme/foo-bar/templates`` directory. Assuming there's a file
7979
called ``sidebar.twig`` in that directory, you can use it easily:
8080

8181
.. code-block:: jinja

0 commit comments

Comments
 (0)