Skip to content

Commit

Permalink
minor #4196 Clarified the bundle base template bit. (Veltar)
Browse files Browse the repository at this point in the history
This PR was submitted for the 2.5 branch but it was merged into the 2.3 branch instead (closes #4196).

Discussion
----------

Clarified the bundle base template bit.

Commits
-------

eae1a03 Clarified the bundle base template bit.
  • Loading branch information
weaverryan committed Oct 20, 2014
2 parents 0c57939 + eae1a03 commit 7359cb4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions book/templating.rst
Original file line number Diff line number Diff line change
Expand Up @@ -413,6 +413,8 @@ lives in a specific location:
that's specific to the ``AcmeBlogBundle``. Since the middle, "controller",
portion is missing (e.g. ``Blog``), the template lives at
``Resources/views/layout.html.twig`` inside ``AcmeBlogBundle``.
Note that the colon is not removed with the "controller", and two colons exist
between the "bundle"name and template file name.

* ``::base.html.twig``: This syntax refers to an application-wide base template
or layout. Notice that the string begins with two colons (``::``), meaning
Expand Down

0 comments on commit 7359cb4

Please sign in to comment.