public function deletepostAction(Param\NamedInt $id = null) { Blogs\Post::delete($id->val()); $this->view->redirect('/adm/blogs/'); }