/**
  * This page is only accessable by admins.
  * 
  * @access public
  */
 public function preDispatch()
 {
     parent::preDispatch();
     // See if we have a logged in user.
     if (!$this->user->isAdmin()) {
         $this->_redirect('/');
     }
 }
 /**
  * This page is only accessable by admins.
  * 
  * @access public
  */
 public function preDispatch()
 {
     parent::preDispatch();
     // See if we have a logged in user.
     if (isset($this->user) && $this->user instanceof Application_Model_User && !$this->user->isAdmin()) {
         $this->_redirect('/');
     }
 }