We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e58e39f commit 66d60d2Copy full SHA for 66d60d2
book/routing.rst
@@ -68,6 +68,13 @@ The route is simple:
68
69
return $collection;
70
71
+.. note::
72
+
73
+ When defining routes, the key (e.g. ``blog_show``) is meaningless.
74
+ Just be sure that it's unique so no other lines override it. In most cases, a
75
+ vendorname_shortbundlename_controllername_actionname pattern
76
+ (e.g. ``acme_blog_show``) is appropriate.
77
78
.. versionadded:: 2.2
79
The ``path`` option was introduced in Symfony 2.2, ``pattern`` is used
80
in older versions.
0 commit comments