title: Unable to call magento admin controller
body: <p>I have created a <strong>custom module</strong> that <strong>adds two menus</strong> in <strong>catalog</strong>. I have also created a <strong>controller</strong> for one of the <strong>menu</strong> , but the controller never gets called but instead is redirected to the admin dashboard page.</p>
  
  <p>My question is some what related to  this question <a href="https://stackoverflow.com/questions/6389081/magento-admin-routing-isnt-working?rq=1">Magento admin routing isn't working</a></p>
  
  <p>I have tried the suggestions mentioned in the answers but none of them worked for me. </p>
  
  <p>When ever I call the url <a href="http://localhost/compare/index.php/ecomm/index/key/bb9f436ee373421b170aa862a1cbb305/" rel="nofollow noreferrer">http://localhost/compare/index.php/ecomm/index/key/bb9f436ee373421b170aa862a1cbb305/</a></p>
  
  <p>I get redirected to <a href="http://localhost/compare/index.php/admin/dashboard/index/key/bb9f436ee373421b170aa862a1cbb305/" rel="nofollow noreferrer">http://localhost/compare/index.php/admin/dashboard/index/key/bb9f436ee373421b170aa862a1cbb305/</a> and hello world never gets printed.</p>
  
  <p>I'm using <strong>magento 1.9</strong> and have disabled all the caches.</p>
  
  <p>My module name is <strong>Super_Awesome</strong> and below is the directory structure</p>
  
  <pre>Super
  |
  |-Awesome
    |-etc          (adminhtml.xml, config.xml)
    |-controllers  (ManageEcomm.php)
    |-Helper       (Data.php)
  </pre>
  
  <p>The config file in app/etc/modules/Super_Awesome.xml is as follows</p>
  
  <pre><code>&lt;?xml version="1.0"?&gt;
  &lt;config&gt;
      &lt;modules&gt;
          &lt;Super_Awesome&gt;
              &lt;active&gt;true&lt;/active&gt;
              &lt;codePool&gt;local&lt;/codePool&gt;
          &lt;/Super_Awesome&gt;
      &lt;/modules&gt;
  &lt;/config&gt;
  </code></pre>
  
  <p>The config file in app/code/local/Super/Awesome/etc/config.xml is</p>
  
  <pre><code>&lt;?xml version="1.0"?&gt;
  &lt;config&gt;
      &lt;modules&gt;
          &lt;Super_Awesome&gt;
              &lt;version&gt;0.1.0&lt;/version&gt;
          &lt;/Super_Awesome&gt;
      &lt;/modules&gt; 
  
      &lt;admin&gt;
          &lt;routers&gt;
              &lt;ecomm&gt;
                  &lt;use&gt;admin&lt;/use&gt;
                  &lt;args&gt;
                      &lt;module&gt;Super_Awesome&lt;/module&gt;
                      &lt;frontName&gt;ecomm&lt;/frontName&gt;
                  &lt;/args&gt;
              &lt;/ecomm&gt;
          &lt;/routers&gt;
      &lt;/admin&gt;
      &lt;adminhtml&gt;
          &lt;!-- The &lt;acl&gt; section is for access control. Here we define the pieces where access can be controlled within a role. --&gt;
          &lt;acl&gt;
              &lt;resources&gt;
                  &lt;admin&gt;
                      &lt;children&gt;
                          &lt;catalog&gt;
                              &lt;!--&lt;title&gt;Awesome Menu Item&lt;/title&gt;--&gt;
                              &lt;children&gt;
                                  &lt;example translate="title" module="awesome"&gt;
                                      &lt;title&gt;Manage Ecommerce&lt;/title&gt;
                                  &lt;/example&gt;
                                  &lt;example1 translate="title" module="awesome"&gt;
                                      &lt;title&gt;Manage Ecommerce Pages&lt;/title&gt;
                                  &lt;/example1&gt;
                              &lt;/children&gt;
                          &lt;/catalog&gt;
                      &lt;/children&gt;
                  &lt;/admin&gt;
              &lt;/resources&gt;
          &lt;/acl&gt;
  
      &lt;/adminhtml&gt;
  
      &lt;global&gt;
          &lt;helpers&gt;
              &lt;awesome&gt;
                  &lt;class&gt;Super_Awesome_Helper&lt;/class&gt;
              &lt;/awesome&gt;
          &lt;/helpers&gt;
      &lt;/global&gt;
  
  &lt;/config&gt;
  </code></pre>
  
  <p>Controller app/code/local/Super/Awesome/controllers/IndexController.php</p>
  
  <pre><code>&lt;?php
  class Super_Awesome_IndexController extends Mage_adminhtml_Controller_Action
  {
      public function indexAction()
      { 
          echo "hello world";
          exit();
      }
  }
  </code></pre>
  
  <p>Finally the adminhtml.xml file in app/code/local/Super/Awesome/etc/</p>
  
  <pre><code>&lt;?xml version="1.0"?&gt;
  &lt;config&gt;
      &lt;menu&gt;
          &lt;catalog translate="title" module="awesome"&gt;
              &lt;!--&lt;title&gt;Awesome&lt;/title&gt;
              &lt;sort_order&gt;15&lt;/sort_order&gt;--&gt;
              &lt;children&gt;
                  &lt;example translate="title" module="awesome"&gt;
                      &lt;title&gt;Manage Ecommerce&lt;/title&gt;
                      &lt;sort_order&gt;1&lt;/sort_order&gt;
                      &lt;action&gt;adminhtml/ecomm&lt;/action&gt;
                  &lt;/example&gt;
                  &lt;example1 translate="title" module="awesome"&gt;
                      &lt;title&gt;Manage Ecommerce Pages&lt;/title&gt;
                      &lt;sort_order&gt;2&lt;/sort_order&gt;
                      &lt;action&gt;adminhtml/example/index&lt;/action&gt;
                  &lt;/example1&gt;
              &lt;/children&gt;
          &lt;/catalog&gt;
      &lt;/menu&gt;
  &lt;/config&gt;
  </code></pre>