Skip to content

Commit 7d38696

Browse files
committed
minor #13893 Fixed path for RoutingConfigurator class. (Surfoo)
This PR was merged into the 5.1 branch. Discussion ---------- Fixed path for RoutingConfigurator class. Hello, According to #13865, here the fix about the loading of `RouteConfigurator` class. FYI, the path `/random/10` returns a 404 error, but I don't know how to fix it. Commits ------- 4153d5e Fixed path for RoutingConfigurator class.
2 parents 950278e + 4153d5e commit 7d38696

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

configuration/micro_kernel_trait.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@ Next, create an ``index.php`` file that defines the kernel class and executes it
2424

2525
// index.php
2626
use Symfony\Bundle\FrameworkBundle\Kernel\MicroKernelTrait;
27-
use Symfony\Bundle\FrameworkBundle\Routing\Loader\Configurator\RoutingConfigurator;
2827
use Symfony\Component\Config\Loader\LoaderInterface;
2928
use Symfony\Component\DependencyInjection\ContainerBuilder;
3029
use Symfony\Component\HttpFoundation\JsonResponse;
3130
use Symfony\Component\HttpFoundation\Request;
3231
use Symfony\Component\HttpKernel\Kernel as BaseKernel;
32+
use Symfony\Component\Routing\Loader\Configurator\RoutingConfigurator;
3333

3434
require __DIR__.'/vendor/autoload.php';
3535

@@ -134,10 +134,10 @@ hold the kernel. Now it looks like this::
134134
namespace App;
135135

136136
use Symfony\Bundle\FrameworkBundle\Kernel\MicroKernelTrait;
137-
use Symfony\Bundle\FrameworkBundle\Routing\Loader\Configurator\RoutingConfigurator;
138137
use Symfony\Component\Config\Loader\LoaderInterface;
139138
use Symfony\Component\DependencyInjection\ContainerBuilder;
140139
use Symfony\Component\HttpKernel\Kernel as BaseKernel;
140+
use Symfony\Component\Routing\Loader\Configurator\RoutingConfigurator;
141141

142142
class Kernel extends BaseKernel
143143
{

0 commit comments

Comments
 (0)