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::
174
174
{
175
175
// import the WebProfilerRoutes, only if the bundle is enabled
176
176
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');
179
179
}
180
180
181
181
// load the annotation routes
182
- $routes->import(__DIR__.'/../src/Controller/', '/', ' annotation');
182
+ $routes->import(__DIR__.'/../src/Controller/', 'annotation');
183
183
}
184
184
185
185
// optional, to use the standard Symfony cache directory
You can’t perform that action at this time.
0 commit comments