<?php

declare(strict_types=1);

use App\Http\Controllers\AuditLogController;
use Illuminate\Support\Facades\Route;

/*
|--------------------------------------------------------------------------
| Audit Logs
|--------------------------------------------------------------------------
|
| Read-only, filterable, exportable. Open to every signed-in user, not
| master-only — see AuditLogController's own docblock.
|
*/

Route::get('audit-logs', [AuditLogController::class, 'index'])->name('audit.index');
Route::get('audit-logs/export', [AuditLogController::class, 'export'])->name('audit.export');
Route::get('audit-logs/{log}', [AuditLogController::class, 'show'])->name('audit.show');
