Skip to content

Commit e4a7453

Browse files
committed
Fix loadComponent call in instructions
1 parent fac608f commit e4a7453

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Via Composer
1818
$ composer require bcrowe/cakephp-api-pagination
1919
```
2020

21-
Then make sure to load the plugin in your application's `bootstrap.php` file.
21+
Then make sure to load the plugin in your application's `bootstrap.php` file:
2222

2323
``` php
2424
Plugin::load('BryanCrowe/ApiPagination');
@@ -33,7 +33,7 @@ Load the component in a controller's `initialize()` method:
3333
public function initialize()
3434
{
3535
parent::initialize();
36-
$this->loadComponent('BryanCrowe/ApiPagination');
36+
$this->loadComponent('BryanCrowe/ApiPagination.ApiPagination');
3737
}
3838
```
3939

0 commit comments

Comments
 (0)