*/ class Mage_Adminhtml_Rss_OrderController extends Mage_Adminhtml_Controller_Action { public function newAction() { Mage::helper('rss')->authAdmin('sales/order'); $this->getResponse()->setHeader('Content-type', 'text/xml; charset=UTF-8'); $this->loadLayout(false); $this->renderLayout(); } /** * Check is allowed access to action * * @return bool */ protected function _isAllowed() { return Mage::getSingleton('admin/session')->isAllowed('sales/order/actions/view'); } }