feat: complete comment history

This commit is contained in:
2026-08-18 12:46:51 -07:00
parent 68c6250160
commit 963abf10fb
11 changed files with 344 additions and 7 deletions
+17 -5
View File
@@ -1,6 +1,7 @@
<?php
use App\Http\Controllers\Account\BookingController;
use App\Http\Controllers\Account\CommentHistoryController;
use App\Http\Controllers\Account\EditProfileController;
use App\Http\Controllers\Account\ProfileController;
use App\Http\Controllers\Account\WishlistController;
@@ -34,15 +35,26 @@ Route::prefix('account')->name('account.')->middleware('auth')->group(function (
Route::get('profile', [ProfileController::class, 'index'])->name('profile');
Route::get('booking', [BookingController::class, 'index'])->name('booking');
Route::get('wishlist', [WishlistController::class, 'index'])->name('wishlist');
Route::prefix('edit-profile')->name('edit-profile.')->controller(EditProfileController::class)->group(function () {
Route::get('/', 'index')->name('index');
Route::post('/', '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'])
->name('comments');
});