I'm using Symfony with API Platform on a server for my REST API.
The client uses React-admin with the Hydra data provider.
My problem is that the pages for viewing or editing resources have a very ugly URL, because it uses the IRI instead of just the ID.
Instead of tags/%2Fapi%2Ftags%2F8/show
, the path should be tags/8/show
.
How do I accomplish that?