feat: edit routes

This commit is contained in:
2026-08-18 16:24:44 -07:00
parent 78ea870a8f
commit c0c2d093e8
+11 -11
View File
@@ -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');
});