_redirect('*/*/balance'); } public function balanceAction() { if (!Mage::helper('customer')->isLoggedIn()) { Mage::getSingleton('customer/session')->authenticate($this); return; } $this->loadLayout(); $this->renderLayout(); } public function printAction() { if (($cardCode = $this->getRequest()->getParam('code'))) { $this->loadLayout('print'); $this->renderLayout(); } else { $this->_redirect('/'); } } }