Skip to content

Commit 5f3c35b

Browse files
committed
minor #8088 Use Twig's namespaced paths (yceruto)
This PR was merged into the 2.7 branch. Discussion ---------- Use Twig's namespaced paths This only solves an inconsistency in this article. Both paths are valid and functional by default in Symfony. But http://symfony.com/doc/2.7/templating/namespaced_paths.html: > As an added bonus, the namespaced syntax is faster. What do you think about using it everywhere? Commits ------- bac2313 Use Twig's namespaced paths
2 parents 8bf4ed6 + bac2313 commit 5f3c35b

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)