mardi 11 octobre 2016

How to check if used paginate in laravel

I have a custom view and in some functions, I used paginate and other functions I don't use paginate. now how can I check if I used paginate or not ?

@if($products->links())

   

@endif // not work 

of course that I know I can use a variable as true false to will check it, But is there any native function to check it ?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire