From bac2313bed73aa19c46d071d2484e37fdffcb773 Mon Sep 17 00:00:00 2001 From: Yonel Ceruto Date: Mon, 26 Jun 2017 10:50:46 -0400 Subject: [PATCH] Use Twig's namespaced paths This just fix an inconsistency in this article. Both paths are valid and functional by default in Symfony. But: > As an added bonus, the namespaced syntax is faster. What do you think about using it everywhere? --- profiler/data_collector.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/profiler/data_collector.rst b/profiler/data_collector.rst index 56878b17035..f08eb40c195 100644 --- a/profiler/data_collector.rst +++ b/profiler/data_collector.rst @@ -153,7 +153,7 @@ block and set the value of two variables called ``icon`` and ``text``: .. code-block:: html+twig - {% extends 'WebProfilerBundle:Profiler:layout.html.twig' %} + {% extends '@WebProfiler/Profiler/layout.html.twig' %} {% block toolbar %} {% set icon %}