peliprint/routes/blueprint/client.php

9 lines
268 B
PHP
Raw Normal View History

<?php
foreach (File::allFiles(__DIR__ . '/client') as $partial) {
if ($partial->getExtension() == 'php') {
2024-03-02 16:24:07 -05:00
Route::prefix('/'.basename($partial->getFilename(), '.php'))
->group(function () use ($partial) {require_once $partial->getPathname();}
);
}
}