From 29c0cb14414ef6e0b4f9f6a143804b2889cc2cea Mon Sep 17 00:00:00 2001 From: purple Date: Mon, 30 Jan 2023 14:50:29 +0100 Subject: [PATCH] Added and grouped Blueprint routers I've gone ahead and grouped Blueprint's routers as well as adding a placeholder extension page. --- routes/admin.php | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/routes/admin.php b/routes/admin.php index 92128f5..ae6f2a8 100644 --- a/routes/admin.php +++ b/routes/admin.php @@ -5,7 +5,6 @@ use Pterodactyl\Http\Controllers\Admin; use Pterodactyl\Http\Middleware\Admin\Servers\ServerInstalled; Route::get('/', [Admin\BaseController::class, 'index'])->name('admin.index'); -Route::get('/extensions', [Admin\ExtensionsController::class, 'index'])->name('admin.extensions'); /* |-------------------------------------------------------------------------- @@ -227,3 +226,16 @@ Route::group(['prefix' => 'nests'], function () { Route::delete('/egg/{egg:id}', [Admin\Nests\EggController::class, 'destroy']); Route::delete('/egg/{egg:id}/variables/{variable:id}', [Admin\Nests\EggVariableController::class, 'destroy']); }); + +/* +|-------------------------------------------------------------------------- +| Blueprint Extensions +|-------------------------------------------------------------------------- +| +| Endpoint: /admin/extensions +| +*/ +Route::group(['prefix' => 'extensions'], function () { + Route::get('/', [Admin\ExtensionsController::class, 'index'])->name('admin.extensions'); + Route::get('/blueprint', [Admin\Extensions\Blueprint\BlueprintExtensionController::class, 'index'])->name('admin.extensions.blueprint'); +}); \ No newline at end of file