Merge pull request #340 from kouts/patch-1

Halt method should clear response before sending.
pull/342/head
Mike Cao 7 years ago committed by GitHub
commit b6ded4f288

@ -364,6 +364,7 @@ class Engine {
*/
public function _halt($code = 200, $message = '') {
$this->response()
->clear()
->status($code)
->write($message)
->send();

Loading…
Cancel
Save