Skip to content

Commit 365fc66

Browse files
committed
fixed typo
1 parent f184a50 commit 365fc66

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

book/templating.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -369,19 +369,19 @@ Symfony2 uses a **bundle**:**controller**:**template** string syntax for
369369
templates. This allows for several different types of templates, each which
370370
lives in a specific location:
371371

372-
* ``AcmeBlogBundle:index.html.twig``: This syntax is used to specify a template
373-
for a specific page. The three parts of the string, each separated by
374-
a colon (``:``), mean the following:
375-
376-
* ``AcmeBlog``: (*bundle*) the template lives inside the ``AcmeBlogBundle``
377-
(e.g. ``src/Acme/BlogBundle``);
372+
* ``AcmeBlogBundle:Blog:index.html.twig``: This syntax is used to specify a
373+
template for a specific page. The three parts of the string, each separated
374+
by a colon (``:``), mean the following:
375+
376+
* ``AcmeBlogBundle``: (*bundle*) the template lives inside the
377+
``AcmeBlogBundle`` (e.g. ``src/Acme/BlogBundle``);
378378

379379
* ``Blog``: (*controller*) indicates that the template lives inside the
380380
``Blog`` subdirectory of ``Resources/views``;
381381

382382
* ``index.html.twig``: (*template*) the actual name of the file is
383383
``index.html.twig``.
384-
384+
385385
Assuming that the ``AcmeBlogBundle`` lives at ``src/Acme/BlogBundle``, the
386386
final path to the layout would be ``src/Acme/BlogBundle/Resources/views/Blog/index.html.twig``.
387387

0 commit comments

Comments
 (0)