Skip to content

Commit

Permalink
Fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
dereuromark committed Dec 19, 2019
1 parent 1fce7b6 commit 84e4859
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/View/Ajax.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ You can add more data to the response object via `_serialize`.
```php
public function statesAjax() {
$this->request->allowMethod('ajax');
$id = $this->request->query('id');
$id = $this->request->getQuery('id');
if (!$id) {
throw new NotFoundException();
}
Expand Down

0 comments on commit 84e4859

Please sign in to comment.