<?php

namespace App\Http\Controllers\Web;

use App\Http\Controllers\Controller;
use App\Models\Server;
use Illuminate\View\View;

class ServersController extends Controller
{
    public function index(): View
    {
        $servers = Server::query()->orderByDesc('created_at')->get();

        return view('servers.index', compact('servers'));
    }
}
