We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1fce7b6 commit 84e4859Copy full SHA for 84e4859
docs/View/Ajax.md
@@ -49,7 +49,7 @@ You can add more data to the response object via `_serialize`.
49
```php
50
public function statesAjax() {
51
$this->request->allowMethod('ajax');
52
- $id = $this->request->query('id');
+ $id = $this->request->getQuery('id');
53
if (!$id) {
54
throw new NotFoundException();
55
}
0 commit comments