I have an action in a controller which is responsible to handle an
Ajax request, this action should return some data back.
My action is using the 'ajax' layout, so the layout is not being
rendered, but unfortunately the cake sql log is still appearing.
I could escape this problem by switching the environment to
production, but it's not the perfect solution!
I believe that mentioning an ajax layout shouldn't send back any extra
data.
Any clue?
--~--~---------~--~----~------------~-------~--~----~
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+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---
No comments:
Post a Comment