public function deleteAction()
 {
     parent::postDispatch();
     $auth = Zend_Auth::getInstance();
     if (!$auth->hasIdentity()) {
         $this->redirect('/auth');
     }
     //verifica se o usuario realmente quer deletar e delata.
     if (isset($_POST['submit'])) {
         $dbTable = new Application_Model_DbTable_Block();
         $dbTable->delete(array('id = ? ' => $_GET['id']));
         header('Location: ../');
     }
 }