From 5a65517d2b6b27be5b6c438aeb29fe88a0e0f194 Mon Sep 17 00:00:00 2001 From: James Collins Date: Fri, 27 Sep 2024 11:19:32 +1000 Subject: [PATCH] added past index route --- routes/web.php | 1 + 1 file changed, 1 insertion(+) diff --git a/routes/web.php b/routes/web.php index ef82583..95df800 100644 --- a/routes/web.php +++ b/routes/web.php @@ -15,6 +15,7 @@ Route::get('/', [HomeController::class, 'index'])->name('index'); Route::get('posts', [PostController::class, 'index'])->name('post.index'); Route::get('posts/{post}', [PostController::class, 'show'])->name('post.show'); Route::get('workshops', [WorkshopController::class, 'index'])->name('workshop.index'); +Route::get('workshops/past', [WorkshopController::class, 'past_index'])->name('workshop.past.index'); Route::get('workshops/{workshop}', [WorkshopController::class, 'show'])->name('workshop.show'); Route::middleware('auth')->group(function () {