you forgot one: $this->redirect()
as it always ends with exit() anyway but the proper way without redirect would be: $this->autoRender = false (anywhere inside that method in the controller) On 15 Apr., 00:08, Miles J <mileswjohn...@gmail.com> wrote: > You can either do the following: > > - Have the delete action redirect once the logic is finished > - Put $this->autoRender = false; at the top of the action > - Put an exit() at the end of the action > > I personally would do the 1st or 2nd. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---