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
@@ -0,0 +1,20 @@
<?php
namespace App\Http\Controllers\Account;
use App\Http\Controllers\Controller;
use App\Models\Comment;
use Illuminate\Http\Request;
class CommentHistoryController extends Controller
{
public function index()
{
$comments = Comment::where('user_id', auth()->id())
->with(['tour', 'flight'])
->latest()
->paginate(10);
return view('account.comment-history', compact('comments'));
}
}