Re: Undefined variable error when I not have page of action

2009-09-17 Thread Dr. Loboto
Cake do not call beforeFilter, beforeRender and etc on such requests. You can create own AppError and call what do you need there. On Sep 16, 6:03 pm, enjoyman wrote: > I set the ACL variable in beforeFilter() method(ACL component) to send > it for use in layout or some action's page. > > When I

Undefined variable error when I not have page of action

2009-09-16 Thread enjoyman
I set the ACL variable in beforeFilter() method(ACL component) to send it for use in layout or some action's page. When I open uncorrect controller/action url: I found Undefined variable in my layout file. How can I fix it? Thank you. --~--~-~--~~~---~--~~ You r