diff options
Diffstat (limited to 'Http/HttpUtils.php')
-rw-r--r-- | Http/HttpUtils.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Http/HttpUtils.php b/Http/HttpUtils.php index 28373a7..24fec0d 100644 --- a/Http/HttpUtils.php +++ b/Http/HttpUtils.php @@ -140,7 +140,7 @@ class HttpUtils throw new \LogicException('You must provide a UrlGeneratorInterface instance to be able to use routes.'); } - $url = $this->urlGenerator->generate($path, $attributes, UrlGeneratorInterface::ABSOLUTE_URL); + $url = $this->urlGenerator->generate($path, $request->attributes->all(), UrlGeneratorInterface::ABSOLUTE_URL); // unnecessary query string parameters must be removed from url // (ie. query parameters that are presents in $attributes) |