public function deleteAction()
 {
     $request = $this->getRequest();
     $id = $request->getParam('id');
     if ($id !== NULL) {
         // @TODO Add confirmation before deleting permanently
         $goalMapper = new Application_Model_GoalMapper();
         $rowsDeleted = $goalMapper->delete($id);
         if ($rowsDeleted == 1) {
             $this->view->msg = 'Goal successfully deleted.';
         } elseif ($rowsDeleted <= 0) {
             $this->view->msg = 'No goal with that id was found';
         }
     }
 }