From 4e3a31e3c1e224a505c13bb81f43416cb5accdeb Mon Sep 17 00:00:00 2001 From: Kyle Nash Date: Fri, 16 Feb 2018 15:14:22 +0000 Subject: [PATCH] Update Agent.php --- src/Services/Agent.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Services/Agent.php b/src/Services/Agent.php index 92939e0..97459f7 100644 --- a/src/Services/Agent.php +++ b/src/Services/Agent.php @@ -31,7 +31,7 @@ public function getAgentInformation() return [ 'user_agent' => $this->request->header('USER_AGENT', 'N/A'), 'ip_address' => $this->request->getClientIp(), - 'last_url' => $this->request->server('HTTP_REFERER') ?: $this->request->header('referer') + 'previous_url' => $this->request->server('HTTP_REFERER') ?: $this->request->header('referer') ]; } }