Deploy Ladill Queue / deploy (push) Successful in 47s
Route model binding fell back to numeric id after route:cache; models now resolve by uuid so Care and Frontdesk counter consoles work in production. Co-authored-by: Cursor <cursoragent@cursor.com>
12 lines
147 B
PHP
12 lines
147 B
PHP
<?php
|
|
|
|
namespace App\Models\Concerns;
|
|
|
|
trait UsesUuidRouteKey
|
|
{
|
|
public function getRouteKeyName(): string
|
|
{
|
|
return 'uuid';
|
|
}
|
|
}
|