Skip to content

Commit

Permalink
feature #4959 Add excluded_ajax_paths new parameter in v2.6 (bocharsk…
Browse files Browse the repository at this point in the history
…y-bw)

This PR was merged into the 2.6 branch.

Discussion
----------

Add excluded_ajax_paths new parameter in v2.6

```
| Q             | A
| ------------- | ---
| Doc fix?      | no
| New docs?     | yes
| Applies to    | v2.6.x
```

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)

Commits
-------

fa95eb0 Add excluded_ajax_paths new parameter in v2.6
  • Loading branch information
weaverryan committed Mar 14, 2015
2 parents 0f6a906 + fa95eb0 commit 3fb19ce
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions reference/configuration/web_profiler.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,14 @@ Full default Configuration
# gives you the opportunity to look at the collected data before following the redirect
intercept_redirects: false
# Exclude AJAX requests in the web debug toolbar for specified paths
excluded_ajax_paths: ^/bundles|^/_wdt
.. code-block:: xml
<web-profiler:config
toolbar="false"
verbose="true"
intercept_redirects="false"
excluded_ajax_paths="^/bundles|^/_wdt"
/>

0 comments on commit 3fb19ce

Please sign in to comment.