Equivalent of `slugAttribute` for resources
Hi all
I'm using UUIDs for primary keys, which don't look great for URLs. I've got a
pretty_id
attribute on my resource models that I'd like to use for URLs. Does anyone know how? You can specify slugAttribute
for tenants but I can't find anything similar for resources.1 Reply
Solution
Never mind,
recordRouteKeyName
is what I was looking for