vendredi 26 janvier 2018

Laravel 5.5 Pagination links() method not being populated

I am using laravel 5.5. I am trying to paginate a list of results, but laravel appears to be breaking somewhere during the pagination.

If I access example.com/grievances/?page=2 and so on, I can see the continued list of results so it's paginating, but the render() and links() methods aren't being populated. Any idea why?

https://paste.laravel.io/7264d5a3-372d-4b55-aa21-8b5351f436e7

Doing a dd($grievances->links()); DOES show that there is #html attached to it, but the view isn't rendering it for some reason.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire