Commit f4fb3bfd authored by ZeMKI's avatar ZeMKI
Browse files

Update AdminController.php

parent c688f497
......@@ -26,7 +26,7 @@ class AdminController extends Controller
$data['usercount'] = User::all()->count();
$data['studiescount'] = Study::all()->count();
$data['interviewcount'] = Interview::all()->count();
$data['actions'] = Action::with('user')->paginate(15);
$data['actions'] = Action::with('user')->orderBy('id', 'desc')->paginate(15);
$data['actionscount'] = Action::all()->count();
$data['occupiedstorage'] = $this->formatBytes(Files::occupiedStorage());
return view('admin.dashboard', $data);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment