From dda7244d5d4c19741238c07eee3b7d2c2af02630 Mon Sep 17 00:00:00 2001 From: Anatoliy Poloz Date: Wed, 27 Dec 2023 16:43:49 +0300 Subject: [PATCH] fix plan and recipe create routes --- routes/web.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/routes/web.php b/routes/web.php index 0ff8918..5dcacea 100644 --- a/routes/web.php +++ b/routes/web.php @@ -66,9 +66,7 @@ Route::group( )->name('register.start'); Route::get('/registration/{step}', Registration\Step1::class)->name('register.step1'); - Route::get('/plan/{plan}', [PlanController::class,'show'])->name('plan.show'); Route::get('/plan/', [PlanController::class,'index'])->name('plan.index'); - Route::get('/recipe/{recipe}', [RecipeController::class,'show'])->name('recipe.show'); Route::get('/recipe/', [RecipeController::class,'index'])->name('recipe.index'); Route::middleware( @@ -113,5 +111,8 @@ Route::group( ); } ); + + Route::get('/plan/{plan}', [PlanController::class,'show'])->name('plan.show'); + Route::get('/recipe/{recipe}', [RecipeController::class,'show'])->name('recipe.show'); } );