undo removing Response::prepare call

This commit is contained in:
Manuel Raynaud
2013-11-22 10:04:14 +01:00
parent 5d52a34f05
commit 338a97c091

View File

@@ -44,7 +44,7 @@ if ( false === in_array($request->getClientIp(), $trustedIp)) {
$response = Response::create('Forbidden', 403)->send();
$thelia->terminate($request, $response);
} else {
$response = $thelia->handle($request)->send();
$response = $thelia->handle($request)->prepare($request)->send();
$thelia->terminate($request, $response);
}