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
krekas
krekas2y ago
setting getRouteKeyName() in your model should work
Want results from more Discord servers?
Add your server