How can i disable layout and view renderer in Zend Framework 2.x? I read documentation and can\'t get any answers looking in google i found answer to Zend 1.x and it\'s
You can add this to the end of your action:
return $this->getResponse();