futtern/config/routes/framework.php
2024-02-05 16:16:43 +01:00

11 lines
375 B
PHP

<?php declare(strict_types=1);
use Symfony\Component\Routing\Loader\Configurator\RoutingConfigurator;
return static function (RoutingConfigurator $routingConfigurator): void {
if ($routingConfigurator->env() === 'dev') {
$routingConfigurator
->import('@FrameworkBundle/Resources/config/routing/errors.xml')
->prefix('/_error');
}
};