On Tue, Dec 9, 2008 at 10:49 PM, Adam Royle <[EMAIL PROTECTED]> wrote:
>
> Put that call in a method, instead of just stranded in the middle of a
> class definition...
>
> class AppController extends Controller {
>    var $uses = array ( 'NavMenu' );
>    function beforeRender() {
>        $this->set ( 'primaryNav', $this->NavMenu->find ( 'all' ) );
>    }
> }

That's what I was missing. I knew it had to be something simple,
stupid. Your contributions to my sanity are appreciated and
documented.

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

Reply via email to