public function preDispatch() { if ($this->getRequest()->getParam('logout') === 'true') { $this->_forward('logout', 'auth', 'default', array('url' => $this->getRequest()->getPathInfo())); } }