From 8ae78ab057a1e0362e60f42ffddbad4e01f045c1 Mon Sep 17 00:00:00 2001 From: purple Date: Wed, 8 Mar 2023 10:08:08 +0100 Subject: [PATCH] Grouped Blueprint routes just another thing to make blueprint less of a mess --- routes/admin.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/routes/admin.php b/routes/admin.php index 4d720bc..1fa67f9 100644 --- a/routes/admin.php +++ b/routes/admin.php @@ -237,6 +237,8 @@ Route::group(['prefix' => 'nests'], function () { */ 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.index'); - Route::patch('/blueprint', [Admin\Extensions\Blueprint\BlueprintExtensionController::class, 'update']); +}); +Route::group(['prefix' => 'extensions/blueprint'], function () { + Route::get('/', [Admin\Extensions\Blueprint\BlueprintExtensionController::class, 'index'])->name('admin.extensions.blueprint.index'); + Route::patch('/', [Admin\Extensions\Blueprint\BlueprintExtensionController::class, 'update']); }); \ No newline at end of file