Skip to content
Snippets Groups Projects
Unverified Commit bca4447a authored by Robb Lewis's avatar Robb Lewis
Browse files

Proper order, pagination

parent 5e7e4009
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -8,7 +8,7 @@ class LogController extends Controller
{
public function index()
{
$logs = FetchLog::all();
$logs = FetchLog::orderBy('created_at', 'desc')->paginate(30);
 
return view('admin.logs', compact(
'logs'
Loading
Loading
Loading
Loading
@@ -23,6 +23,8 @@
@endforelse
</div>
 
{!! $logs->render() !!}
</div>
 
<div class="col-md-3"></div>
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment