I have already included a custom controller in my local module.
The config.xml snippet for it is:
<routers>
<subscription>
<use>standard</use>
<args>
<module>Born_Subscription</module>
<frontName>bornsubscription</frontName>
</args>
</subscription>
</routers>
Now I want to override Mage/Checkout/CartController as well in the same module.
How do I modify my config.xml file to include the override as well.
Best Answer
Add this inside the
<routers>
tag in your config.xml (as a sibling tag forsubscription
)Then create the file
Born/Subscription/controllers/CartController.php
with this content