title: Overriding a Magento Action
body: <p>There has been many times when all I want to do is override a specific action on a controller but not the whole thing. In most cases I have just overrode the whole controller, but I'm wondering if there is a better way?  Does Magento have a way to just override a single action in a controller leaving the original controller and other actions as they were?</p>
  
  <p>Example:</p>
  
  <pre><code>class Mage_Core_AwesomeController extends Mage_Core_Controller_Front_Action {
  
      //has url of awesome/index
      public function indexAction(){
          //Some Awesome code
      }
  
      //has url of awesome/torewrite
      public function torewriteAction(){
          //Some Awesome code
      }
  
  }
  
  class Local_Core_AwesomeController extends Mage_Core_AwesomeController {
  
      //has url of awesome/torewrite
      public function torewriteAction(){
          //Some Awesome Override code
      }
  
  }
  </code></pre>
  
  <p>So the url awesome/torewrite would go to Local_Core_AwesomeController but the url awesome/index would go to Mage_Core_AwesomeController.</p>
  
  <p>This example is obviously fabricated, its merely there to show what I would want in theory. So please don't try and correct the example, just demonstrate the best way to override just an action.</p>
  
  <p>I think it would also be important to note that I do not want to rewrite the url, just override the action. Maybe this is impossible without rewriting the url?  Its just that when rewriting the url the tags in the layout change and I would rather keep them the same.</p>