teknoid recently wrote an article about this. It was a bit more specifically geared towards Auth, but it can easily be adapted from his code examples.
http://teknoid.wordpress.com/2010/01/06/quickly-grant-auth-access-to-multiple-controllers/ On Jan 10, 4:36 pm, andrewperk <[email protected]> wrote: > Is there a way to target a specific controller from within the > AppController? > > For instance inside of controllers I can do this: > > if ($this->action == 'index') > { > // do something > > } > > to target a specific action. > > Is there something similar to this for inside of the AppController to > target a specific controller? Thanks.
Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" 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
