From 84e4859f480f746e85ae1c351306d2e5e6720b41 Mon Sep 17 00:00:00 2001 From: mscherer Date: Thu, 19 Dec 2019 23:37:02 +0100 Subject: [PATCH] Fix docs --- docs/View/Ajax.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/View/Ajax.md b/docs/View/Ajax.md index 43b8b073..063e9586 100644 --- a/docs/View/Ajax.md +++ b/docs/View/Ajax.md @@ -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(); }