Browse files

[WebProfiler] Add default route to access the profiler more easily

  • Loading branch information...
1 parent 611b241 commit 957bbcbd15d5623f0038b70ffdfe5fc1d054d40b @Seldaek Seldaek committed Feb 23, 2012
Showing with 10 additions and 0 deletions.
  1. +10 −0 src/Symfony/Bundle/WebProfilerBundle/Resources/config/routing/profiler.xml
View
10 src/Symfony/Bundle/WebProfilerBundle/Resources/config/routing/profiler.xml
@@ -32,4 +32,14 @@
<default key="_controller">WebProfilerBundle:Profiler:panel</default>
</route>
+ <route id="_profiler_redirect" pattern="/">
+ <default key="_controller">FrameworkBundle:Redirect:redirect</default>
+ <default key="route">_profiler_search_results</default>
+ <default key="token">empty</default>
+ <default key="ip"></default>
+ <default key="url"></default>
+ <default key="method"></default>
+ <default key="limit">10</default>
+ </route>
+
</routes>

0 comments on commit 957bbcb

Please sign in to comment.