Skip to content

Commit f5549bd

Browse files
committed
moved routing configuration to routes/ instead of routing/
1 parent b0aa905 commit f5549bd

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

symfony/framework-bundle/3.3/src/Kernel.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,12 @@ protected function configureContainer(ContainerBuilder $container, LoaderInterfa
5050
protected function configureRoutes(RouteCollectionBuilder $routes): void
5151
{
5252
$confDir = dirname(__DIR__).'/config';
53-
if (is_dir($confDir.'/routing/')) {
54-
$routes->import($confDir.'/routing/*'.self::CONFIG_EXTS, '/', 'glob');
53+
if (is_dir($confDir.'/routes/')) {
54+
$routes->import($confDir.'/routes/*'.self::CONFIG_EXTS, '/', 'glob');
5555
}
56-
if (is_dir($confDir.'/routing/'.$this->environment)) {
57-
$routes->import($confDir.'/routing/'.$this->environment.'/**/*'.self::CONFIG_EXTS, '/', 'glob');
56+
if (is_dir($confDir.'/routes/'.$this->environment)) {
57+
$routes->import($confDir.'/routes/'.$this->environment.'/**/*'.self::CONFIG_EXTS, '/', 'glob');
5858
}
59-
$routes->import($confDir.'/routing'.self::CONFIG_EXTS, '/', 'glob');
59+
$routes->import($confDir.'/routes'.self::CONFIG_EXTS, '/', 'glob');
6060
}
6161
}

0 commit comments

Comments
 (0)