Skip to content

Commit ebaa619

Browse files
committed
Fixed bundle template paths.
Moved template files into parent directory.
1 parent 61d8e7d commit ebaa619

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/SqlDataCollector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public function collect(Request $request, Response $response, \Throwable $except
2222

2323
public static function getTemplate(): ?string
2424
{
25-
return 'amp sql profiler/amp sql profiler';
25+
return '@AmpSqlProfiler/amp sql profiler';
2626
}
2727

2828
/**

templates/amp sql profiler/amp sql profiler.html.twig renamed to templates/amp sql profiler.html.twig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
{% block toolbar %}
55
{% if collector.querycount > 0 %}
66
{% set icon %}
7-
{{ include('amp sql profiler/db.svg') }}
7+
{{ include('@AmpSqlProfiler/db.svg') }}
88
<span class="sf-toolbar-value">{{ collector.querycount }}</span>
99
<span class="sf-toolbar-info-piece-additional-detail">
1010
<span class="sf-toolbar-label">in</span>
@@ -33,7 +33,7 @@
3333

3434
{% block menu %}
3535
<span class="label {{ collector.querycount == 0 ? 'disabled' }}">
36-
<span class="icon">{{ include('amp sql profiler/db.svg') }}</span>
36+
<span class="icon">{{ include('@AmpSqlProfiler/db.svg') }}</span>
3737
<strong>Amp SQL</strong>
3838
<span class="count">{{ collector.querycount }}</span>
3939
</span>

0 commit comments

Comments
 (0)