Fix counter console 404 when routes are cached.
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>
This commit is contained in:
isaacclad
2026-07-05 22:31:54 +00:00
co-authored by Cursor
parent ebfc9693c7
commit 29bf896f21
9 changed files with 77 additions and 11 deletions
+11
View File
@@ -0,0 +1,11 @@
<?php
namespace App\Models\Concerns;
trait UsesUuidRouteKey
{
public function getRouteKeyName(): string
{
return 'uuid';
}
}