Improved How URLs are Generated in FormResource
Expanded the url method in FormResource.php to make use of the FormResource::getUrl function for generating URLs. This change ensures more consistency and flexibility with URLs used in form resources. As a result, it will make the process of managing and modifying URLs less demanding and more efficient.
PR Summary
url
method inFormResource.php
to make use of theFormResource::getUrl
function for generating URLs. This change ensures more consistency and flexibility with URLs used in form resources. As a result, it will make the process of managing and modifying URLs less demanding and more efficient.