File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -174,12 +174,12 @@ hold the kernel. Now it looks like this::
174174 {
175175 // import the WebProfilerRoutes, only if the bundle is enabled
176176 if (isset($this->bundles['WebProfilerBundle'])) {
177- $routes->import('@WebProfilerBundle/Resources/config/routing/wdt.xml', '/_wdt');
178- $routes->import('@WebProfilerBundle/Resources/config/routing/profiler.xml', '/_profiler');
177+ $routes->import('@WebProfilerBundle/Resources/config/routing/wdt.xml')->prefix( '/_wdt');
178+ $routes->import('@WebProfilerBundle/Resources/config/routing/profiler.xml')->prefix( '/_profiler');
179179 }
180180
181181 // load the annotation routes
182- $routes->import(__DIR__.'/../src/Controller/', '/', ' annotation');
182+ $routes->import(__DIR__.'/../src/Controller/', 'annotation');
183183 }
184184
185185 // optional, to use the standard Symfony cache directory
You can’t perform that action at this time.
0 commit comments