8000 [WebProfilerBundle] Use ControllerReference instead of URL in twig render() by Foxprodev · Pull Request #40791 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[WebProfilerBundle] Use ControllerReference instead of URL in twig render() #40791

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
Apr 13, 2021
Merged
Show file tree
Hide file tree
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
[WebProfiler] Use ControllerReference instead of URL in twig render()
  • Loading branch information
Foxprodev committed Apr 13, 2021
commit f2ee8bc7aea9fe05c7935a85bf6d319aba549e3b
< 8000 td id="diff-3f5a7d7312745a8f0e89ae4436e112921417fe3e037619f0a1fb6134c38d1bc8L34" data-line-number="34" class="blob-num blob-num-deletion js-linkable-line-number">
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{% block head %}
{% if collector.hasexception %}
<style>
{{ render(path('_profiler_exception_css', { token: token })) }}
{{ render(controller('web_profiler.controller.exception_panel::stylesheet', { token: token })) }}
{{ include('@WebProfiler/Collector/exception.css.twig') }}
</style>
{% endif %}
Expand Down Expand Up @@ -31,7 +31,7 @@
</div>
{% else %}
<div class="sf-reset">
{{ render(path('_profiler_exception', { token: token })) }}
{{ render(controller('web_profiler.controller.exception_panel::body', { token: token })) }}
</div>
{% endif %}
{% endblock %}
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@
{% endblock %}

{% block panel %}
{{ render(path('_profiler_router', { token: token })) }}
{{ render(controller('web_profiler.controller.router::panelAction', { token: token })) }}
{% endblock %}
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
{{ include('@WebProfiler/Icon/search.svg') }} <span class="hidden-small">Search</span>
</a>

{{ render(path('_profiler_search_bar', request.query.all)) }}
{{ render(controller('web_profiler.controller.profiler::searchBarAction', request.query.all)) }}
</div>
</div>

Expand Down
0