From 39de103d9d3455bd2b13bada47acad325ab41e67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A4r=20Thernstr=C3=B6m?= Date: Tue, 2 Jul 2024 10:06:05 +0200 Subject: [PATCH] Skicka plats-debug vidare --- routes/web.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/routes/web.php b/routes/web.php index e062517a..16d2f9a0 100644 --- a/routes/web.php +++ b/routes/web.php @@ -225,7 +225,10 @@ */ Route::get('/plats/{plats}', [PlatsController::class, 'day'])->name("platsSingle"); -// Route::get('/plats-debug/{plats}', [PlatsController::class, 'dayDebug'])->name("platsSingle"); +//Route::get('/plats-debug/{plats}', [PlatsController::class, 'dayDebug'])->name("platsSingle"); +Route::get('/plats-debug/{plats}', function($plats) { + return redirect()->route('platsSingle', ['plats' => $plats]); +}); Route::get('/plats/{plats}/handelser', function ($plats) { return redirect()->route('platsSingle', ['plats' => $plats]); });