diff --git a/src/TextLinked.php b/src/TextLinked.php index e83d757..2fd1959 100644 --- a/src/TextLinked.php +++ b/src/TextLinked.php @@ -30,7 +30,7 @@ class TextLinked extends Text */ public function linkResource(string $uirKey, string $id) { - $url = \Nova::path() . "/resources/{$uirKey}/{$id}"; + $url = \Nova::path() . "resources/{$uirKey}/{$id}"; return $this->withMeta(['url' => $url]); } @@ -53,7 +53,7 @@ public function url(string $url) */ public function link($resource) { - $url = \Nova::path() . "/resources/{$resource->uriKey()}/{$resource->id}"; + $url = \Nova::path() . "resources/{$resource->uriKey()}/{$resource->id}"; return $this->withMeta(['url' => $url]); } }