Skip to content

Commit 359c2f8

Browse files
rsmnartschriskacerguis
authored andcommitted
rename $this->method to $this-methods
1 parent 570d457 commit 359c2f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

application/config/rest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -483,7 +483,7 @@
483483
| To specify the limits within the controller's __construct() method, add per-method
484484
| limits with:
485485
|
486-
| $this->method['METHOD_NAME']['limit'] = [NUM_REQUESTS_PER_HOUR];
486+
| $this->methods['METHOD_NAME']['limit'] = [NUM_REQUESTS_PER_HOUR];
487487
|
488488
| See application/controllers/api/example.php for examples
489489
*/

0 commit comments

Comments
 (0)