Now this is tricky, if your controller/action is made to server as ajax call, or in case if you do need to show any template for that action. You can do it very easily:
$this->getHelper('viewRenderer')->setNoRender();
In this case you don't need any corresponding phtml file to put in the view folder.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment