From e96596741da8d49c6847d5937a83f68f7804af44 Mon Sep 17 00:00:00 2001 From: purple Date: Mon, 6 Feb 2023 20:48:21 +0100 Subject: [PATCH] Moved Blueprint admin view Changed the location of the Blueprint admin extension page to allow for better organization. --- .../Admin/Extensions/Blueprint/BlueprintExtensionController.php | 2 +- .../{blueprint.blade.php => blueprint/index.blade.php} | 0 routes/admin.php | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename resources/views/admin/extensions/{blueprint.blade.php => blueprint/index.blade.php} (100%) diff --git a/app/Http/Controllers/Admin/Extensions/Blueprint/BlueprintExtensionController.php b/app/Http/Controllers/Admin/Extensions/Blueprint/BlueprintExtensionController.php index 470ea24..dfd67a8 100644 --- a/app/Http/Controllers/Admin/Extensions/Blueprint/BlueprintExtensionController.php +++ b/app/Http/Controllers/Admin/Extensions/Blueprint/BlueprintExtensionController.php @@ -21,6 +21,6 @@ class BlueprintExtensionController extends Controller */ public function index(): View { - return $this->view->make('admin.extensions.blueprint', ['version' => $this->version]); + return $this->view->make('admin.extensions.blueprint.index', ['version' => $this->version]); } } diff --git a/resources/views/admin/extensions/blueprint.blade.php b/resources/views/admin/extensions/blueprint/index.blade.php similarity index 100% rename from resources/views/admin/extensions/blueprint.blade.php rename to resources/views/admin/extensions/blueprint/index.blade.php diff --git a/routes/admin.php b/routes/admin.php index ae6f2a8..95210ea 100644 --- a/routes/admin.php +++ b/routes/admin.php @@ -237,5 +237,5 @@ 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'); + Route::get('/blueprint', [Admin\Extensions\Blueprint\BlueprintExtensionController::class, 'index'])->name('admin.extensions.blueprint.index'); }); \ No newline at end of file