Updated routing to the new syntax
This commit is contained in:
parent
f2d32ccfde
commit
1f88edd9e0
@ -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>
|
||||
|
@ -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>
|
||||
|
Reference in New Issue
Block a user