Skip to content
Permalink
Browse files

Not sending the response in beforeRender, better let Dispatcher do it…

…s work
  • Loading branch information...
lorenzo committed Jan 20, 2012
1 parent 769a5c2 commit 5df2a0957f43798133d81fbf30798b7dc41ea67a
Showing with 0 additions and 1 deletion.
  1. +0 −1 lib/Cake/Controller/Component/RequestHandlerComponent.php
@@ -253,7 +253,6 @@ public function beforeRedirect($controller, $url, $status = null, $exit = true)
public function beforeRender($controller) {
$shouldCheck = $this->settings['checkHttpCache'];
if ($shouldCheck && $this->response->checkNotModified($this->request)) {
$this->response->send();
return false;
}
}

0 comments on commit 5df2a09

Please sign in to comment.
You can’t perform that action at this time.