[WebProfilerBundle] Remove usage of app.request in search bar template

This commit is contained in:
Jérôme Macias 2014-11-25 23:48:05 +01:00
parent 4a1a0ed686
commit d3451fc938
2 changed files with 2 additions and 1 deletions

View File

@ -249,6 +249,7 @@ class ProfilerController
'start' => $start,
'end' => $end,
'limit' => $limit,
'request' => $request,
)), 200, array('Content-Type' => 'text/html'));
}

View File

@ -15,7 +15,7 @@
</select>
<div class="clear-fix"></div>
<label for="url">URL</label>
<input type="url" name="url" id="url" value="{{ url }}" placeholder="e.g. {{ app.request.baseUrl }}">
<input type="url" name="url" id="url" value="{{ url }}" placeholder="e.g. {{ request.baseUrl }}">
<div class="clear-fix"></div>
<label for="token">Token</label>
<input type="text" name="token" id="token" value="{{ token }}" placeholder="e.g. 1f321b">