Re: AppController not loaded for missing controller pages

2009-04-09 Thread Dr. Loboto
Make you own error handler and call these methods manually if it wasn't done in normal flow. It is the only way. On Apr 8, 11:21 pm, "rich...@home" wrote: > In my AppController, I set a bunch of view variables in the > beforeFilter() {} callback. > > I use these view variables ($authUser) in the

Re: AppController not loaded for missing controller pages

2009-04-08 Thread Myname
make sure you set the variable in the beforeRender function and not in the beforeFilter... cheers On Apr 8, 5:21 pm, "rich...@home" wrote: > In my AppController, I set a bunch of view variables in the > beforeFilter() {} callback. > > I use these view variables ($authUser) in the layout to fo

AppController not loaded for missing controller pages

2009-04-08 Thread rich...@home
In my AppController, I set a bunch of view variables in the beforeFilter() {} callback. I use these view variables ($authUser) in the layout to for e.g. a welcome block. If the user goes to a page that doesn't exist, then AppController isn't loaded at all and these view variables aren't populat