Skip to content

Commit

Permalink
Fixes #56: Updated README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
creocoder committed Jan 27, 2015
1 parent 8fd7cbc commit cb8635a
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,13 @@ class Menu extends \yii\db\ActiveRecord
{
public function behaviors() {
return [
'class' => NestedSetsBehavior::className(),
// 'treeAttribute' => 'tree',
// 'leftAttribute' => 'lft',
// 'rightAttribute' => 'rgt',
// 'depthAttribute' => 'depth',
'tree' => [
'class' => NestedSetsBehavior::className(),
// 'treeAttribute' => 'tree',
// 'leftAttribute' => 'lft',
// 'rightAttribute' => 'rgt',
// 'depthAttribute' => 'depth',
],
];
}

Expand Down

0 comments on commit cb8635a

Please sign in to comment.