diff --git a/routes/web.php b/routes/web.php index fad6b76..28f8ccd 100644 --- a/routes/web.php +++ b/routes/web.php @@ -41,20 +41,20 @@ Route::prefix('account')->name('account.')->middleware('auth')->group(function ( Route::put('/', 'post')->name('post'); }); - Route::get('booking', [BookingController::class, 'index'])->name('booking'); - - Route::get('wishlist', [WishlistController::class, 'index']) - ->name('wishlist'); - - Route::get( - 'wishlist/{type}/{id}', - [WishlistController::class, 'toggle'] - )->name('wishlist.toggle'); - Route::get('comments', [CommentHistoryController::class, 'index']) - ->name('comments'); + Route::get('wishlist', [WishlistController::class, 'index'])->name('wishlist'); + Route::get('wishlist/{type}/{id}', [WishlistController::class, 'toggle'])->name('wishlist.toggle'); + + + + Route::get('comments', [CommentHistoryController::class, 'index'])->name('comments'); + + + Route::get('bookings', [BookingController::class, 'index']) ->name('booking'); + Route::post('bookings/flight/{flight}', [BookingController::class, 'storeFlight']) ->name('booking.flight'); + Route::post('bookings/tour/{tour}', [BookingController::class, 'storeTour']) ->name('booking.tour'); });