Updated routing to the new syntax

This commit is contained in:
Christophe Coevoet 2011-01-12 00:03:33 +01:00 committed by Fabien Potencier
parent f2d32ccfde
commit 1f88edd9e0
2 changed files with 5 additions and 5 deletions

View File

@ -4,7 +4,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.symfony-project.org/schema/routing http://www.symfony-project.org/schema/routing/routing-1.0.xsd">
<route id="_internal" pattern="/:controller/:path.:_format">
<route id="_internal" pattern="/{controller}/{path}.{_format}">
<default key="_controller">FrameworkBundle:Internal:index</default>
</route>
</routes>

View File

@ -16,19 +16,19 @@
<default key="_controller">WebProfilerBundle:Profiler:import</default>
</route>
<route id="_profiler_export" pattern="/export/:token.txt">
<route id="_profiler_export" pattern="/export/{token}.txt">
<default key="_controller">WebProfilerBundle:Profiler:export</default>
</route>
<route id="_profiler_search_results" pattern="/:token/search/results">
<route id="_profiler_search_results" pattern="/{token}/search/results">
<default key="_controller">WebProfilerBundle:Profiler:searchResults</default>
</route>
<route id="_profiler" pattern="/:token">
<route id="_profiler" pattern="/{token}">
<default key="_controller">WebProfilerBundle:Profiler:panel</default>
</route>
<route id="_profiler_panel" pattern="/:token/:panel">
<route id="_profiler_panel" pattern="/{token}/{panel}">
<default key="_controller">WebProfilerBundle:Profiler:panel</default>
</route>
</routes>