Grouped Blueprint routes

just another thing to make blueprint less of a mess
This commit is contained in:
purple 2023-03-08 10:08:08 +01:00
parent f75b7ab797
commit 8ae78ab057

View file

@ -237,6 +237,8 @@ Route::group(['prefix' => 'nests'], function () {
*/ */
Route::group(['prefix' => 'extensions'], function () { Route::group(['prefix' => 'extensions'], function () {
Route::get('/', [Admin\ExtensionsController::class, 'index'])->name('admin.extensions'); 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']);
}); });