Modify URI
Can we append service name to url for visibility. For an instance Disney is https://exmaple.com/services/1 but would be great if we could also use https://exmaple.com/services/disney so it’s visible when sharing urls etc.
2 Replies
Override the getRouteKeyName method on the Eloquent model:
public function getRouteKeyName(): string
{
return 'slug';
}
GitHub
Modify URI · filamentphp filament · Discussion #14309
Package Panel builder Package Version v3.2 How can we help you? Can we append record name to url for visibility. For an instance Disney is https://exmaple.com/services/1 but would be great if we co...