X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=app%2FHttp%2FControllers%2FAosSeedController.php;h=a1718a13fcaee60da1c91ba502edcac27e7ea00b;hb=a5e53546a5960f54fb45e06767f89e9dfeef6a47;hp=8cdc58bf5a7b520e864e54ec14715c28cfaf285d;hpb=80c51af075a5a86641cf47ba5024994a1310e9d6;p=alttp.git diff --git a/app/Http/Controllers/AosSeedController.php b/app/Http/Controllers/AosSeedController.php index 8cdc58b..a1718a1 100644 --- a/app/Http/Controllers/AosSeedController.php +++ b/app/Http/Controllers/AosSeedController.php @@ -42,6 +42,10 @@ class AosSeedController extends Controller return $seed->toJson(); } + public function presets() { + return array_values(AosrPresetCommand::$presets); + } + public function retry($hash) { $seed = AosSeed::where('hash', '=', $hash)->firstOrFail();