I have been getting 404 error in Magento Admin Controller and i cant seem to figure out what i am doing wrong:
I have this in the config.xml
<!--Admin Controller--> <admin> <routers> <adminhtml> <args> <modules> <example before="Mage_Adminhtml">MasteringMagento_Example_Adminhtml </example> </modules> </args> </adminhtml> </routers> </admin> I have this inside my controllers/Adminhtml/ExampleController.php
class MasteringMagento_Example_Adminhtml_ExampleController extends Mage_Adminhtml_Controller_Action { public function indexAction(){ $this->loadLayout(); return $this->renderLayout(); } }