From fc9dce603308188d48403a1a367b031eeae280fb Mon Sep 17 00:00:00 2001 From: IlhamiD Date: Fri, 23 Jan 2015 15:12:16 +0100 Subject: [PATCH] Update routing.rst corrected a few typos. --- book/routing.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/book/routing.rst b/book/routing.rst index d5a13c8ce01..e7cd6c8e5ba 100644 --- a/book/routing.rst +++ b/book/routing.rst @@ -1021,8 +1021,8 @@ routing system can be: /** * @Route( * "/articles/{_locale}/{year}/{title}.{_format}", - * defaults: {"_format": "html"}, - * requirements: { + * defaults={"_format": "html"}, + * requirements={ * "_locale": "en|fr", * "_format": "html|rss", * "year": "\d+"