feat: edit routes
This commit is contained in:
+11
-11
@@ -41,20 +41,20 @@ Route::prefix('account')->name('account.')->middleware('auth')->group(function (
|
|||||||
|
|
||||||
Route::put('/', 'post')->name('post');
|
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'])
|
Route::get('wishlist', [WishlistController::class, 'index'])->name('wishlist');
|
||||||
->name('comments');
|
|
||||||
|
|
||||||
|
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');
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user