public function publish() { $u = new Comment_model($this->template, $this->router->query_string); $u->publish(); $this->template->render("publish_comment_result", "json"); }