<?php

use App\Http\Controllers\Admin\SystemResetController;
use Illuminate\Support\Facades\Route;

Route::middleware(['auth', 'permission:system.settings.manage'])
    ->prefix('admin')
    ->name('admin.')
    ->group(function (): void {
        Route::get('/system-reset', [SystemResetController::class, 'index'])->name('system-reset.index');
        Route::post('/system-reset', [SystemResetController::class, 'reset'])->name('system-reset.reset');
    });
