Skip to content
This repository was archived by the owner on Feb 24, 2023. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions audit-resolvers.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ return [
```

## URL Resolver
This resolver uses the `Request::fullUrlWithQuery()` method to get the current URL (including any query strings).
This resolver uses the `Request::fullUrl()` method to get the current URL (including any query strings).

Here's a resolver example where query strings are not included.

Expand All @@ -72,7 +72,7 @@ class UrlResolver implements \OwenIt\Auditing\Contracts\UrlResolver
}

// Just the full URL without query strings
return Request::fullUrl();
return Request::url();
}
}
```
Expand Down