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
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
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