$this->response->status = 404;
$this->data['body']['content'] = View::forge('404', array(
'global' => $this->data['global'],
'body' => $this->data['body']));
public function after($response)
{
if (empty($this->data['response']))
{
$this->data['body'] = View::forge('template/general', array(
'global' => $this->data['global'],
'body' => $this->data['body']));
}
parent::after($response);
return true;
}
public function after($response)
{
$this->viewResponse();
return Response::forge($this->response->body, $this->response->status)->send(true);
}
Response::forge($this->response->body, $this->response->status)->send(true);die;
It looks like you're new here. If you want to get involved, click one of these buttons!