Much better than my line! As far beforeFilter and beforeRender, you can look at the API for the differences, but I think either would work for this purpose.
On May 7, 1:00 pm, jitka <[EMAIL PROTECTED]> wrote: > > and that one line of code just changed my entire outlook on admin > > routing! > > if (!empty($this->params[CAKE_ADMIN])) .... --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
