Don't cast url to string if it's internally transformed again

Also, the cast encodes the url as well, for use within HTML.
This is not required if used in conjunction with ipl-html.
This commit is contained in:
Johannes Meyer 2023-08-03 10:55:54 +02:00
parent 071f006b7d
commit 13330d3a44

View file

@ -136,7 +136,7 @@ class NodeController extends Controller
'li',
new Link(
sprintf('%s (%s.conf)', $bpName, $fileName),
(string) Url::fromPath('businessprocess/process/show', ['config' => $fileName])
\ipl\Web\Url::fromPath('businessprocess/process/show', ['config' => $fileName])
)
)
);