Routing
{{ request.route ?: '(none)' }}
Matched route
{% if request.route %}
{{ traces|length }}
Tested routes before match
{% endif %}
{% if request.route %}
Route Parameters
{% if request.routeParams is empty %}
{% else %}
{{ include('@WebProfiler/Profiler/table.html.twig', { data: request.routeParams, labels: ['Name', 'Value'] }, with_context = false) }}
{% endif %}
{% endif %}
{% if router.redirect %}
Route Redirection
This page redirects to:
{{ router.targetUrl }}
{% if router.targetRoute %}(route: "{{ router.targetRoute }}"){% endif %}
{% endif %}
Route Matching Logs
Path to match: {{ request.pathinfo }}
# |
Route name |
Path |
Log |
{% for trace in traces %}
{{ loop.index }} |
{{ trace.name }} |
{{ trace.path }} |
{% if trace.level == 1 %}
Path almost matches, but
{{ trace.log }}
{% elseif trace.level == 2 %}
{{ trace.log }}
{% else %}
Path does not match
{% endif %}
|
{% endfor %}
Note: These matching logs are based on the current router configuration,
which might differ from the configuration used when profiling this request.