added past index route

This commit is contained in:
2024-09-27 11:19:32 +10:00
parent 49eb388041
commit 5a65517d2b

View File

@@ -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 () {