File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ Registering your own namespaces
38
38
39
39
You can also register your own custom namespaces. Suppose that you're using
40
40
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
42
42
directory:
43
43
44
44
.. configuration-block ::
@@ -75,7 +75,7 @@ directory:
75
75
));
76
76
77
77
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
79
79
called ``sidebar.twig `` in that directory, you can use it easily:
80
80
81
81
.. code-block :: jinja
You can’t perform that action at this time.
0 commit comments