Skip to content

Commit 84e4859

Browse files
committed
Fix docs
1 parent 1fce7b6 commit 84e4859

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/View/Ajax.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ You can add more data to the response object via `_serialize`.
4949
```php
5050
public function statesAjax() {
5151
$this->request->allowMethod('ajax');
52-
$id = $this->request->query('id');
52+
$id = $this->request->getQuery('id');
5353
if (!$id) {
5454
throw new NotFoundException();
5555
}

0 commit comments

Comments
 (0)