Switch route key over

This commit is contained in:
Lance Pioch 2024-03-24 01:37:24 -04:00
parent 0961d6314c
commit 946d597a13

View File

@ -151,6 +151,11 @@ class Egg extends Model
}); });
} }
public function getRouteKeyName(): string
{
return 'id';
}
/** /**
* Returns the install script for the egg; if egg is copying from another * Returns the install script for the egg; if egg is copying from another
* it will return the copied script. * it will return the copied script.