Skip to content

Commit

Permalink
Update Agent.php
Browse files Browse the repository at this point in the history
  • Loading branch information
knash94 authored Feb 16, 2018
1 parent e78c2ea commit 4e3a31e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Services/Agent.php
Original file line number Diff line number Diff line change
Expand Up @@ -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')
];
}
}

0 comments on commit 4e3a31e

Please sign in to comment.