From d4aeb403ddc2f20f74dafb722b9f261b86ee80d3 Mon Sep 17 00:00:00 2001 From: Kevin Bond Date: Fri, 12 Jun 2015 07:48:31 -0400 Subject: [PATCH] add note about cache warming prior to 2.8 --- cookbook/templating/namespaced_paths.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cookbook/templating/namespaced_paths.rst b/cookbook/templating/namespaced_paths.rst index 164fde49487..8b730af1c30 100644 --- a/cookbook/templating/namespaced_paths.rst +++ b/cookbook/templating/namespaced_paths.rst @@ -71,6 +71,9 @@ directory: ); )); +.. versionadded:: 2.8 + Prior to Symfony 2.8, these paths were not warmed during cache warming. + The registered namespace is called ``foo_bar``, which refers to the ``vendor/acme/foo-bar/templates`` directory. Assuming there's a file called ``sidebar.twig`` in that directory, you can use it easily: