On Aug 24, 1:02 am, Aaron <[EMAIL PROTECTED]> wrote:
> At the bottom of every rendered page is an execution time (i.e.
> <!--0.4567s -->)  I have views that return json and this breaks the
> parsing.  How do I remove this?
>
> -Aaron

use layout without any other text.

in controller:
function return_json_etc()
{
...
//see /cake/libs/view/layouts/
$this->layout = 'ajax';
...
}

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to