diff --git a/src/Http/Resources/Url.php b/src/Http/Resources/Url.php new file mode 100644 index 0000000..f174d88 --- /dev/null +++ b/src/Http/Resources/Url.php @@ -0,0 +1,20 @@ + $this->id, + 'path' => $this->path(), + 'url' => "{$appUrl}/{$this->path()}", + ]; + } +}