Skip to content

Commit bac2313

Browse files
authored
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?
1 parent 8bf4ed6 commit bac2313

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

profiler/data_collector.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ block and set the value of two variables called ``icon`` and ``text``:
153153

154154
.. code-block:: html+twig
155155

156-
{% extends 'WebProfilerBundle:Profiler:layout.html.twig' %}
156+
{% extends '@WebProfiler/Profiler/layout.html.twig' %}
157157

158158
{% block toolbar %}
159159
{% set icon %}

0 commit comments

Comments
 (0)