From c663155f3b8bed5ff73ee8f648d76a62e075fda7 Mon Sep 17 00:00:00 2001 From: Axel Date: Thu, 25 May 2023 11:41:56 +0200 Subject: [PATCH] Fixing router --- routes/web.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/web.php b/routes/web.php index 0623ead..bd27f74 100644 --- a/routes/web.php +++ b/routes/web.php @@ -34,7 +34,7 @@ */ Route::middleware(['can.upload'])->group(function() { Route::get('/', [WebController::class, 'homepage'])->name('homepage'); - Route::get('/new', [WebController::class, 'newBundle'])->name('bundle.new'); + Route::post('/new', [WebController::class, 'newBundle'])->name('bundle.new'); Route::prefix('/upload/{bundle}')->controller(UploadController::class)->name('upload.')->group(function() { Route::get('/', 'createBundle')->name('create.show');