futtern/config/routes/framework.php

11 lines
362 B
PHP
Raw Normal View History

2024-02-05 15:16:43 +00:00
<?php declare(strict_types=1);
use Symfony\Component\Routing\Loader\Configurator\RoutingConfigurator;
return static function (RoutingConfigurator $routingConfigurator): void {
if ($routingConfigurator->env() === 'dev') {
2024-06-09 14:43:34 +00:00
$routingConfigurator->import('@FrameworkBundle/Resources/config/routing/errors.xml')
2024-02-05 15:16:43 +00:00
->prefix('/_error');
}
};