Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit e51a416

Browse filesBrowse files
committed
minor #7139 Add a warning about routes parameters names limitations (fancyweb, javiereguiluz)
This PR was merged into the 2.7 branch. Discussion ---------- Add a warning about routes parameters names limitations @wouterj @xabbuh I'm sorry guys I had to do a new branch and a new PR because I failed in the old one. I shouldn't have used the fast GitHub edit method. I fixed the indentation to 4 spaces. Also I thought this kind of information fitted more in the "advanced" area along with the special parameters than in the basic examples. Follow up to #7133 Commits ------- cadef60 Use "route placeholder" instead of "route parameter" 6b0f53c Add a warning about routes parameters names limitations
2 parents 9d0b421 + cadef60 commit e51a416
Copy full SHA for e51a416

File tree

Expand file treeCollapse file tree

1 file changed

+4
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-0
lines changed

‎routing.rst

Copy file name to clipboardExpand all lines: routing.rst
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -466,6 +466,10 @@ a slash. URLs matching this route might look like:
466466
Symfony provides you with a way to do this by leveraging service container
467467
parameters. Read more about this in ":doc:`/routing/service_container_parameters`".
468468

469+
.. caution::
470+
471+
A route placeholder name cannot start with a digit and cannot be longer than 32 characters.
472+
469473
Special Routing Parameters
470474
~~~~~~~~~~~~~~~~~~~~~~~~~~
471475

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.