Merge pull request 'fix plan and recipe create routes' (#45) from apoloz/eatvio:main into main

Reviewed-on: eatvio/eatvio#45
This commit is contained in:
apoloz
2023-12-27 13:44:36 +00:00

View File

@@ -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');
}
);