problem with new menu setup

Recently updated to the new version 1.1.2. When a create a model & crud it uses the new menu setup and I get this error:

Thanks for any help. -RM





CException

Description


Property "Business_leadsController.menu" is not defined.

Source File


/var/www/roadtrip/yii-admin/protected/views/business_leads/admin.php(7)


00001: <?php

00002: $this->breadcrumbs=array(

00003:     'Business Leads'=>array('index'),

00004:     'Manage',

00005: );

00006: 

00007: $this->menu=array(

00008:     array('label'=>'List business_leads', 'url'=>array('index')),

00009:     array('label'=>'Create business_leads', 'url'=>array('create')),

00010: );

00011: 

00012: Yii::app()->clientScript->registerScript('search', "



looks like I just needed to add this to my protected/components/Controller.php

Things have changed a lot in the new cruds!


class Controller extends CController

{


	public $menu=array();