public function executeTogglePublish()
 {
     $comment = sfSimpleBlogCommentPeer::retrieveByPk($this->getRequestParameter('id'));
     $this->forward404Unless($comment);
     $comment->setIsModerated(!$comment->getIsModerated());
     $comment->save();
     if ($this->getRequestParameter('from_email') == 1) {
         $this->comment = $comment;
         return sfView::SUCCESS;
     }
     if ($referer = $this->getRequest()->getReferer()) {
         $this->redirect($referer);
     } else {
         $this->redirect('sfSimpleBlogCommentAdmin/list');
     }
 }