Added setNoRender call to MediaController and removed unnecessary views
This commit is contained in:
parent
afffd0c876
commit
da293f610f
8 changed files with 3 additions and 1 deletions
|
@ -21,6 +21,8 @@ class Rest_MediaController extends Zend_Rest_Controller
|
||||||
public function init()
|
public function init()
|
||||||
{
|
{
|
||||||
$this->view->layout()->disableLayout();
|
$this->view->layout()->disableLayout();
|
||||||
|
// Remove reliance on .phtml files to render requests
|
||||||
|
$this->_helper->viewRenderer->setNoRender(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function indexAction()
|
public function indexAction()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue