futtern/config/routes/framework.php
lubiana e2a33be4f9
All checks were successful
/ ls (pull_request) Successful in 25s
/ ls (push) Successful in 25s
reboot
2024-06-10 19:13:51 +02:00

10 lines
362 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');
}
};