Skip to content

Commit

Permalink
Skicka plats-debug vidare
Browse files Browse the repository at this point in the history
  • Loading branch information
bonny committed Jul 2, 2024
1 parent 4c720e1 commit 39de103
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion routes/web.php
Original file line number Diff line number Diff line change
Expand Up @@ -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]);
});
Expand Down

0 comments on commit 39de103

Please sign in to comment.