I am trying to override adminhtml_sales_order_create controller. I have created a small module app/code/local/PA/Sales/etc/config.xml
<?xml version="1.0"?>
<config>
<modules>
<PA_Sales>
<version>0.1</version>
</PA_Sales>
</modules>
<admin>
<routers>
<adminhtml>
<args>
<modules>
<sales before="Mage_Adminhtml">PA_Sales_Adminhtml</sales>
</modules>
</args>
</adminhtml>
</routers>
</admin>
</config>
and created controller file as
app/code/local/PA/Sales/controllers/Adminhtml/CreateorderController.php
<?php
require_once 'Mage/Adminhtml/controllers/Sales/Order/CreateController.php';
class PA_Sales_Adminhtml_CreateorderController extends Mage_Adminhtml_Sales_Order_CreateController
{
public function indexAction()
{
echo "something";exit;
}
}
I am unable to override this controller, where did I go wrong?