8000 [WebProfilerBundle] Re add missing link to the controller by lyrixx · Pull Request #23676 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[WebProfilerBundle] Re add missing link to the controller #23676

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 22, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,21 +1,19 @@
{% extends '@WebProfiler/Profiler/layout.html.twig' %}

{% block toolbar %}
{% import _self as helper %}
{% set request_handler %}
{% import _self as helper %}
{{ helper.set_handler(collector.controller) }}
{% endset %}

{% if collector.redirect %}
{% set redirect_handler %}
{% import _self as helper %}
{{ helper.set_handler(collector.redirect.controller, collector.redirect.route, 'GET' != collector.redirect.method ? collector.redirect.method) }}
{% endset %}
{% endif %}

{% if collector.forward|default(false) %}
{% set forward_handler %}
{% import _self as helper %}
{{ helper.set_handler(collector.forward.controller) }}
{% endset %}
{% endif %}
Expand Down Expand Up @@ -108,6 +106,12 @@
{% endblock %}

{% block panel %}
{% import _self as helper %}

<h2>
{{ helper.set_handler(collector.controller) }}
</h2>

<div class="sf-tabs">
<div class="tab">
<h3 class="tab-title">Request</h3>
Expand Down Expand Up @@ -268,7 +272,7 @@
{% for child in profile.children %}
<h3>
<a href="{{ path('_profiler', { token: child.token }) }}">
{{- child.getcollector('request').identifier -}}
{{ helper.set_handler(child.getcollector('request').controller) }}
</a>
<small>(token = {{ child.token }})</small>
</h3>
Expand Down
0