Im trying to find out why blade isn't working right with this method and not showing properly in my webserver:
{{$posts->links()}}
Then this is my controller method who gets the data from the database and gives to the view the data
public function index(){
$posts = Post::orderBy('created_at','desc')->paginate(5);
return view('dashboard.post.index',['posts' => $posts]);
}
