Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
Open
Description
Symfony version(s) affected
7.4.0 beta2
Description
I try to use the new default config for routes as mentionned in
https://symfony.com/blog/new-in-symfony-7-4-attribute-improvements#route-attribute-auto-registration
I use the PHP config. (see below)
I have the error :
Cannot load resource "routing.controllers".How to reproduce
<?php// config/routes.phpdeclare(strict_types=1);use Symfony\Component\Routing\Loader\Configurator\RoutingConfigurator;return static function (RoutingConfigurator $routingConfigurator): void {// $routingConfigurator->import([// 'path' => '../src/Controller/',// 'namespace' => 'App\Controller',// ], 'attribute'); $routingConfigurator->import('routing.controllers');};Possible Solution
No response
Additional Context
- PHP configuration files are used.