feat: complete comment history
This commit is contained in:
+17
-5
@@ -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');
|
||||
|
||||
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user