Website/app/config/routes/web_profiler.php
Snoweuph 1518a8f194
Some checks are pending
Quality Check / Check (push) Waiting to run
#1: Switch Config to PHP
2024-04-22 22:28:02 +02:00

16 lines
511 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('@WebProfilerBundle/Resources/config/routing/wdt.xml')
->prefix('/_wdt')
;
$routingConfigurator->import('@WebProfilerBundle/Resources/config/routing/profiler.xml')
->prefix('/_profiler')
;
}
};