Skip to content

Commit fa95eb0

Browse files
committed
Add excluded_ajax_paths new parameter in v2.6
Based on post [New in Symfony 2.6: AJAX requests in the web debug toolbar](http://symfony.com/blog/new-in-symfony-2-6-ajax-requests-in-the-web-debug-toolbar)
1 parent 6ba90ec commit fa95eb0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

reference/configuration/web_profiler.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,14 @@ Full default Configuration
2323
# gives you the opportunity to look at the collected data before following the redirect
2424
intercept_redirects: false
2525
26+
# Exclude AJAX requests in the web debug toolbar for specified paths
27+
excluded_ajax_paths: ^/bundles|^/_wdt
28+
2629
.. code-block:: xml
2730
2831
<web-profiler:config
2932
toolbar="false"
3033
verbose="true"
3134
intercept_redirects="false"
35+
excluded_ajax_paths="^/bundles|^/_wdt"
3236
/>

0 commit comments

Comments
 (0)