Thanks! beforeRender works but now I get this error:
Notice: Undefined property: AppController::$User in C:\accounts \placeholder\app\app_controller.php on line 48 Fatal error: Call to a member function findById() on a non-object in C: \accounts\placeholder\app\app_controller.php on line 48 Any ideas why? On Nov 26, 5:54 pm, Gwoo <[EMAIL PROTECTED]> wrote: > beforeRender is usually better for that stuff than beforeFilter > because its possible that you are overwriting user somewhere in you > controllers. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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 -~----------~----~----~----~------~----~------~--~---
