<?php

namespace App\Http\Controllers\Admin;

use App\Http\Controllers\Controller;
use Illuminate\Http\Request;

class EmailLogController extends Controller
{
    public function index()
    {
        $logs = \App\Models\EmailLog::latest('sent_at')->paginate(20);
        return view('admin.email_logs.index', compact('logs'));
    }
}
