Skip to content

Commit

Permalink
Get link using new destination class
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Mar 24, 2024
1 parent a56db50 commit b28c520
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public function getRoute(): ?Route
*/
public function getUrl(): string
{
return (string) $this->route;
return $this->destination->getLink();
}

/**
Expand Down

0 comments on commit b28c520

Please sign in to comment.