Skip to content

Commit b9359a2

Browse files
committed
bug #4905 Update routing.rst (IlhamiD)
This PR was submitted for the 2.6 branch but it was merged into the 2.3 branch instead (closes #4905). Discussion ---------- Update routing.rst corrected a few typos. Commits ------- cf48e1a Update routing.rst
2 parents 3293286 + cf48e1a commit b9359a2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

book/routing.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -945,8 +945,8 @@ routing system can be:
945945
/**
946946
* @Route(
947947
* "/articles/{_locale}/{year}/{title}.{_format}",
948-
* defaults: {"_format": "html"},
949-
* requirements: {
948+
* defaults={"_format": "html"},
949+
* requirements={
950950
* "_locale": "en|fr",
951951
* "_format": "html|rss",
952952
* "year": "\d+"

0 commit comments

Comments
 (0)