Last active
December 23, 2015 21:29
-
-
Save LordZombi/6697054 to your computer and use it in GitHub Desktop.
Disable Layout, Never Render
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// in controller action | |
$this->_helper->viewRenderer->setNeverRender(); | |
$this->_helper->layout()->disableLayout(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment