commit
a32bf4ce7d
33 changed files with 7427 additions and 0 deletions
10
config/routes/framework.php
Normal file
10
config/routes/framework.php
Normal file
|
@ -0,0 +1,10 @@
|
|||
<?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');
|
||||
}
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue