mirror of
https://github.com/henrywhitaker3/Speedtest-Tracker.git
synced 2025-12-24 06:28:27 +01:00
Changed order of speedtests table
This commit is contained in:
@@ -14,7 +14,8 @@ class SpeedtestController extends Controller
|
||||
{
|
||||
public function index()
|
||||
{
|
||||
$data = Speedtest::paginate();
|
||||
$data = Speedtest::orderBy('id', 'desc')
|
||||
->paginate();
|
||||
|
||||
return response()->json([
|
||||
'method' => 'index of speedtests',
|
||||
|
||||
Reference in New Issue
Block a user