コントローラで $this->response_status に 404 をセットする。
public function action_index()
{
$id = \Uri::segment(4);
if(!$fuga)
{
// 404
$this->response_status = 404;
$this->template->content = \View::forge('404');
return ;
}
$this->template->content = \View::forge('detail');
}
