@foreach($post->reply as $replies)
//code .....
@endforeach
how do I paginate the views for replies variable in this case
@foreach($post->reply as $replies)
//code .....
@endforeach
how do I paginate the views for replies variable in this case
try
@foreach($post->reply()->paginagte() as $replies)
//code .....
@endforeach