Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion routing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1243,7 +1243,7 @@ the common configuration using options when importing the routes.
use Symfony\Component\Routing\Loader\Configurator\RoutingConfigurator;

return function (RoutingConfigurator $routes) {
// use the optional fifth argument of import() to exclude some files
// use the optional fourth argument of import() to exclude some files
// or subdirectories when loading annotations
$routes->import('../../src/Controller/', 'annotation')
// this is added to the beginning of all imported route URLs
Expand Down