Skip to content

Commit fe06a2c

Browse files
jrattuedebesha
authored andcommitted
Use native Twig references for templates
1 parent 93835dc commit fe06a2c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Resources/config/services.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<service id="debesha.doctrine_extra_profiler.data_collector"
1616
class="Debesha\DoctrineProfileExtraBundle\DataCollector\HydrationDataCollector" public="false">
1717
<argument type="service" id="doctrine.orm.entity_manager"/>
18-
<tag name="data_collector" template="DebeshaDoctrineProfileExtraBundle:Collector:hydrations.html.twig"
18+
<tag name="data_collector" template="@DebeshaDoctrineProfileExtra/Collector/hydrations.html.twig"
1919
id="hydrations"/>
2020
</service>
2121
</services>

Resources/views/Collector/hydrations.html.twig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{% extends app.request.isXmlHttpRequest ? 'WebProfilerBundle:Profiler:ajax_layout.html.twig' : 'WebProfilerBundle:Profiler:layout.html.twig' %}
1+
{% extends app.request.isXmlHttpRequest ? '@WebProfiler/Profiler/ajax_layout.html.twig' : '@WebProfiler/Profiler/layout.html.twig' %}
22

33
{% block toolbar %}
44
{% set icon %}
@@ -14,7 +14,7 @@
1414
<b>Doctrine Hydrations:</b>
1515
</div>
1616
{% endset %}
17-
{% include 'WebProfilerBundle:Profiler:toolbar_item.html.twig' with { 'link': profiler_url } %}
17+
{% include '@WebProfiler/Profiler/toolbar_item.html.twig' with { 'link': profiler_url } %}
1818
{% endblock %}
1919

2020
{% block menu %}

0 commit comments

Comments
 (0)