8000 bug #16953 return ajax collector to collectors.php (NothingWeAre) · symfony/symfony@bb1c6f6 · GitHub
[go: up one dir, main page]

Skip to content
8000

Commit bb1c6f6

Browse files
committed
bug #16953 return ajax collector to collectors.php (NothingWeAre)
This PR was merged into the 3.0 branch. Discussion ---------- return ajax collector to collectors.php | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | no | Fixed tickets | #16880 | License | MIT | Doc PR | in symfony 3.0 there is no ajax collector declared. Because of that debug toolbar do not display ajax calls Commits ------- 8a2c757 return ajax collector to collectors.php
2 parents c1bfa46 + 8a2c757 commit bb1c6f6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Symfony/Bundle/FrameworkBundle/Resources/config/collectors.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@
1515
<tag name="data_collector" template="@WebProfiler/Collector/request.html.twig" id="request" priority="335" />
1616
</service>
1717

18+
<service id="data_collector.ajax" class="Symfony\Component\HttpKernel\DataCollector\AjaxDataCollector" public="false">
19+
<tag name="data_collector" template="@WebProfiler/Collector/ajax.html.twig" id="ajax" priority="315" />
20+
</service>
21+
1822
<service id="data_collector.exception" class="Symfony\Component\HttpKernel\DataCollector\ExceptionDataCollector" public="false">
1923
<tag name="data_collector" template="@WebProfiler/Collector/exception.html.twig" id="exception" priority="305" />
2024
</service>

0 commit comments

Comments
 (0)
0