Skip to content

Commit

Permalink
Do not pass anchor as a parameter to the route.
Browse files Browse the repository at this point in the history
  • Loading branch information
jyrkidn committed Sep 11, 2024
1 parent 4fdb0eb commit ab15f8d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Link.php
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,9 @@ public function resolveParameters(array $parameters)
{
$route = $this->getRoute();

if (isset($parameters['anchor'])) {
unset($parameters['anchor']);
}
$route->parameters = $parameters;
$bindings = $route->bindingFields();

Expand Down

0 comments on commit ab15f8d

Please sign in to comment.