UUID as url key in resource
How can i use the uuid field as the route parameter for resources, i want to keep the id field as the primary field for the model.
1 Reply
setting
getRouteKeyName()
in your model should work