index.php 457 Bytes
<?php

use Illuminate\Support\Facades\Route;

Route::prefix('admin')->as('admin.')->middleware(['api', 'auth:admin'])->group(static function () {
    Route::prefix('dashboard')->group(__DIR__ . '/dashboard.php');
    Route::prefix('auth')->group(__DIR__ . '/auth.php');
    Route::prefix('audition')->group(__DIR__ . '/audition.php');
    Route::prefix('user')->group(__DIR__ . '/user.php');
    Route::prefix('system')->group(__DIR__ . '/system.php');
});