feat: implement favorites for tours and flights
This commit is contained in:
@@ -27,6 +27,7 @@ class ProfileController extends Controller
|
||||
|
||||
public function comments()
|
||||
{
|
||||
$title = 'کامنت های من';
|
||||
$comments = auth()->user()
|
||||
->comments()
|
||||
->with([
|
||||
@@ -36,8 +37,6 @@ class ProfileController extends Controller
|
||||
->orderByDesc('created_at')
|
||||
->paginate(10);
|
||||
|
||||
return view('account.comments' , compact('comments'));
|
||||
return view('account.comments' , compact('title','comments'));
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user