whats up ? I have a little problem with Laravel Paginator.
I built the function using order by and paginator, but I\'m getting the error message \"Call to undefined
You are overriding the $premios variable in the foreach. Use it as singular form in the foreach:
$premios
foreach
@foreach($premios as $premio) {{$premio->titulo}} {{$premio->data}} @endforeach {{ $premios->links() }}