AppController var $uses = array('Conference');
AppController::beforeFilter() { $this->Conference->find('all'); // do
your stuff here }You are better encapsulating this in a component. On Sat, Mar 8, 2008 at 12:06 PM, Greg Baker <[EMAIL PROTECTED]> wrote: > > I want to generate a few routes automatically in my application by > finding all 'conferences' and using the 'path' field from each. Do do > this I need to findAll conferences in my app_controller, but I don't > know how. > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
