/** * Controller predispatch method * * @return Mage_Adminhtml_Controller_Action */ public function preDispatch() { if ($this->getRequest()->getActionName() == 'drop') { $this->_currentArea = 'frontend'; } parent::preDispatch(); }
/** * Controller predispatch method * * @return Mage_Adminhtml_Controller_Action */ public function preDispatch() { $action = strtolower($this->getRequest()->getActionName()); if ($action == 'drop') { $this->_currentArea = 'frontend'; } parent::preDispatch(); }