From 7ed859d6880dbe6ffcc698db0dd7fbda436d6c55 Mon Sep 17 00:00:00 2001 From: "Md. Emtiaz Zahid" Date: Tue, 31 Dec 2019 13:08:19 +0600 Subject: [PATCH] json view issue fix --- src/controllers/LogViewerController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/LogViewerController.php b/src/controllers/LogViewerController.php index 44e5338..b079b11 100644 --- a/src/controllers/LogViewerController.php +++ b/src/controllers/LogViewerController.php @@ -68,7 +68,7 @@ public function index() 'standardFormat' => true, ]; - if ($this->request->wantsJson()) { + if ($this->request->ajax()) { return $data; }