From 946d597a138aae0628046493b96012b00326f941 Mon Sep 17 00:00:00 2001 From: Lance Pioch Date: Sun, 24 Mar 2024 01:37:24 -0400 Subject: [PATCH] Switch route key over --- app/Models/Egg.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/Models/Egg.php b/app/Models/Egg.php index a68d6b63d..559482839 100644 --- a/app/Models/Egg.php +++ b/app/Models/Egg.php @@ -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 * it will return the copied script.