git add .
git commit "Add admin management search sort and permission structure preparation"
This commit is contained in:
@@ -10,16 +10,15 @@ class CommentController extends Controller
|
||||
{
|
||||
public function index()
|
||||
{
|
||||
$withoutHero=true;
|
||||
|
||||
$comments=Comment::query()
|
||||
->where('user_id',auth()->id())
|
||||
->with('tour')
|
||||
->latest()
|
||||
->paginate(4);
|
||||
|
||||
return view('account.users.comments.index', [
|
||||
'comments' => $comments,
|
||||
'withoutHero' => true
|
||||
]);
|
||||
return view('account.users.comments.index',compact('withoutHero','comments'));
|
||||
}
|
||||
|
||||
public function store(CommentStoreRequest $request)
|
||||
|
||||
Reference in New Issue
Block a user