diff --git a/README.md b/README.md index bdc7f96..57a9b81 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,7 @@ public function index() $this->paginate['conditions'] = $conditions; // get pagination - $this->set('posts', $this->paginate($this->Post)); + $this->set('posts', $this->paginate($this->Posts)); // ...