ZF-8018: Disable layout in Zend_Rest_Controller
Description
Disable the layout in Zend_Rest_Controller
The user can disable the layout himself/herself. But it's nice to have the layout disabled by default when requests are routed to Zend_Rest_Controller.
If you like a patch, let me know. :)
Comments
Posted by Matthew Weier O'Phinney (matthew) on 2009-10-06T06:05:21.000+0000
I disagree with this. REST does not imply that there will not be a layout by any means, and I actually have RESTful resources that display both HTML as well as JSON; the former uses a layout, while the latter does not.
Posted by Matthew Weier O'Phinney (matthew) on 2009-10-06T06:06:26.000+0000
Besides the reasons mentioned in my previous comment, changing the behavior at this point would be a backwards compatibility break. Both are sufficient reasons to close this issue.