File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -369,19 +369,19 @@ Symfony2 uses a **bundle**:**controller**:**template** string syntax for
369369templates. This allows for several different types of templates, each which
370370lives 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
You can’t perform that action at this time.
0 commit comments