It's called once for rendering the layout, and a second time for rendering the view that gets inserted into $content_for_layout.
-jperras. On Oct 21, 9:09 am, Amit Rawat <[email protected]> wrote: > Hello friends, > > I am having a problem my before render function in app controller is being > called twice. can anyone tell me why is this happening? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
