Do dd(); on comments before passing them in view and work your way back, somewhere there is an issue...
@ajax30 Pass the variable to the view ‘comments’ => $comments
@ajax30 As you see even is separate messages the code is not formatted correctly, but i assume you g...
$comment = [ 'user_id' => Auth::user()->id, 'article_id' => $request->get('artic...
<form method="post" action="{{ route('comment.submit') }}" autocomplete="...
The Laravel portal for problem solving, knowledge sharing and community building.
The community