Skip to content

Commit

Permalink
Merge pull request cakephp#289 from mikeboehm/master
Browse files Browse the repository at this point in the history
A couple of code examples contained mistakes
  • Loading branch information
markstory committed Jun 28, 2012
2 parents 76934eb + 0eb6872 commit e8e05d3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ requires an implementation of ``parentNode()`` on your model. In
our ``User`` model we will add the following::

<?php
class User extends Model {
class User extends AppModel {
public $name = 'User';
public $belongsTo = array('Group');
public $actsAs = array('Acl' => array('type' => 'requester'));
Expand All @@ -265,7 +265,7 @@ our ``User`` model we will add the following::
Then in our ``Group`` Model Add the following::

<?php
class Group extends Model {
class Group extends AppModel {
public $actsAs = array('Acl' => array('type' => 'requester'));
public function parentNode() {
Expand Down

0 comments on commit e8e05d3

Please sign in to comment.