Skip to content

Commit 088f9c4

Browse files
ThomasLandauerjaviereguiluz
authored andcommitted
[Routing] Adding exclude to PHP code sample
1 parent 8bfa680 commit 088f9c4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

routing.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1255,6 +1255,7 @@ the common configuration using options when importing the routes.
12551255
->namePrefix('blog_')
12561256
// these requirements are added to all imported routes
12571257
->requirements(['_locale' => 'en|es|fr'])
1258+
->exclude('../../src/Controller/{DebugEmailController}.php')
12581259
;
12591260
};
12601261

0 commit comments

Comments
 (0)