File tree Expand file tree Collapse file tree
tests/Fixtures/App/config Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ web_profiler_wdt :
2+ resource : ' @WebProfilerBundle/Resources/config/routing/wdt.php'
3+ prefix : /_wdt
4+
5+ web_profiler_profiler :
6+ resource : ' @WebProfilerBundle/Resources/config/routing/profiler.php'
7+ prefix : /_profiler
Original file line number Diff line number Diff line change 55$ collection = new RouteCollection ();
66
77$ collection ->addCollection (
8- $ loader ->import (__DIR__ .'/routes/web_profiler.yaml ' )
8+ $ loader ->import (
9+ \file_exists (__DIR__ .'/../../../../vendor/symfony/web-profiler-bundle/Resources/config/routing/wdt.php ' )
10+ ? __DIR__ .'/routes/web_profiler_sf8.yaml '
11+ : __DIR__ .'/routes/web_profiler.yaml '
12+ ),
913);
1014
1115$ collection ->addCollection (
12- $ loader ->import (__DIR__ .'/routes/routes.yaml ' )
16+ $ loader ->import (__DIR__ .'/routes/routes.yaml ' ),
1317);
1418
1519return $ collection ;
You can’t perform that action at this time.
0 commit comments