feat(tour): implement tour details page with comments system and dynamic sidebar

This commit is contained in:
2026-08-18 16:14:14 +03:30
parent 83cca25dd8
commit c3d6bed0f1
8 changed files with 236 additions and 12 deletions
@@ -25,5 +25,19 @@ class ProfileController extends Controller
return response()->json($cities);
}
public function comments()
{
$comments = auth()->user()
->comments()
->with([
'tour',
'flight'
])
->orderByDesc('created_at')
->paginate(10);
return view('account.comments' , compact('comments'));
}
}