From d3451fc9388efbe324294f9a8d10fb2b1d56b73f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Macias?= Date: Tue, 25 Nov 2014 23:48:05 +0100 Subject: [PATCH] [WebProfilerBundle] Remove usage of app.request in search bar template --- .../Bundle/WebProfilerBundle/Controller/ProfilerController.php | 1 + .../WebProfilerBundle/Resources/views/Profiler/search.html.twig | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Symfony/Bundle/WebProfilerBundle/Controller/ProfilerController.php b/src/Symfony/Bundle/WebProfilerBundle/Controller/ProfilerController.php index 604890cc53..ef99e99dc0 100644 --- a/src/Symfony/Bundle/WebProfilerBundle/Controller/ProfilerController.php +++ b/src/Symfony/Bundle/WebProfilerBundle/Controller/ProfilerController.php @@ -249,6 +249,7 @@ class ProfilerController 'start' => $start, 'end' => $end, 'limit' => $limit, + 'request' => $request, )), 200, array('Content-Type' => 'text/html')); } diff --git a/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/search.html.twig b/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/search.html.twig index d9771d1739..8f06fa43e5 100644 --- a/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/search.html.twig +++ b/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/search.html.twig @@ -15,7 +15,7 @@
- +