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.
Solution
Never mind, recordRouteKeyName is what I was looking for
Was this page helpful?