<?php

declare(strict_types=1);

use App\Core\Router;

return static function (Router $router): void {
    $router->group('/admin', static function (Router $router): void {
        $router->get('/dashboard', 'SuperadminController@index');
    }, ['auth', 'superadmin']);
};
