Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bd45598

Browse files
author
James Halsall
committed
[WebProfilerBundle] Make the IP address in the profiler header clickable to view requests by IP
1 parent 03a824a commit bd45598

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/layout.html.twig

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,9 @@
6868
<dd>{{ status_code }}</dd>
6969

7070
<dt>IP</dt>
71-
<dd>{{ profile.ip }}</dd>
71+
<dd>
72+
<a href="{{ path('_profiler_search_results', { token: token, limit: 10, ip: profile.ip }) }}">{{ profile.ip }}</a>
73+
</dd>
7274

7375
<dt>Profiled on</dt>
7476
<dd>{{ profile.time|date('r') }}</dd>

0 commit comments

Comments
 (0)